mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-06-20 01:12:58 +08:00
Opt: Remake updater
This commit is contained in:
@@ -784,7 +784,8 @@ def startup():
|
||||
task_handler.add(updater.update_state(), updater.delay)
|
||||
task_handler.add(updater.schedule_restart(), 86400)
|
||||
task_handler.start()
|
||||
init_discord_rpc()
|
||||
if updater.updater.bool('DiscordRichPresence'):
|
||||
init_discord_rpc()
|
||||
|
||||
|
||||
def clearup():
|
||||
|
||||
Reference in New Issue
Block a user