mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Add: Added new update check
- @LmeSzinc made another update check with proxy support, I just add a github token support because github api has a limit of 60 requests per hour for unauthenticated requests.
This commit is contained in:
@@ -8,7 +8,7 @@ from module.reward.assets import *
|
||||
from module.reward.commission import RewardCommission
|
||||
from module.reward.tactical_class import RewardTacticalClass
|
||||
from module.ui.page import *
|
||||
from module.updater import Update
|
||||
from module.update import Update
|
||||
|
||||
|
||||
class Reward(RewardCommission, RewardTacticalClass, LoginHandler, Update):
|
||||
@@ -163,5 +163,4 @@ class Reward(RewardCommission, RewardTacticalClass, LoginHandler, Update):
|
||||
|
||||
logger.info('Reward loop wait')
|
||||
logger.attr('Reward_loop_wait', f'{self.config.REWARD_INTERVAL} min')
|
||||
self.check_update()
|
||||
self.device.sleep(self.config.REWARD_INTERVAL * 60)
|
||||
|
||||
Reference in New Issue
Block a user