twblue/src/update/updater.py

11 lines
394 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
import application
import update
import platform
from wxUpdater import *
def do_update():
2015-04-22 15:34:44 -05:00
try:
return update.perform_update(endpoint=application.update_url, current_version=application.version, app_name=application.name, update_available_callback=available_update_dialog, progress_callback=progress_callback, update_complete_callback=update_finished)
except:
pass