1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 05:08:19 +08:00

Opt: Remake updater

This commit is contained in:
18870
2022-01-10 22:14:25 +08:00
parent cd7fa9d2c6
commit 1d716b27f1
5 changed files with 56 additions and 115 deletions

View File

@@ -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():