mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-08-27 18:29:23 +00:00
The updater system is executed at the startup
This commit is contained in:
11
src/update/updater.py
Normal file
11
src/update/updater.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import application
|
||||
import update
|
||||
import platform
|
||||
from wxUpdater import *
|
||||
|
||||
def do_update():
|
||||
# try:
|
||||
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
|
Reference in New Issue
Block a user