mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 02:33:34 +08:00
Add: Drop screenshots upload to AzurStats
This commit is contained in:
@@ -536,6 +536,12 @@ class AzurLaneConfig:
|
||||
# ActionPoint, PurpleCoins, RepairPack, TuringSample
|
||||
OS_ASKSHI_SHOP_PRIORITY = 'ActionPoint > PurpleCoins'
|
||||
|
||||
"""
|
||||
module.statistics
|
||||
"""
|
||||
ENABLE_AZURSTAT = False
|
||||
AZURSTAT_ID = ''
|
||||
|
||||
def create_folder(self):
|
||||
for folder in [self.ASSETS_FOLDER, self.PERSPECTIVE_ERROR_LOG_FOLDER, self.ERROR_LOG_FOLDER]:
|
||||
if folder and not os.path.exists(folder):
|
||||
@@ -656,6 +662,8 @@ class AzurLaneConfig:
|
||||
self.LOW_HP_WITHDRAW_THRESHOLD = float(option['low_hp_withdraw_threshold'])
|
||||
self.ENABLE_SAVE_GET_ITEMS = to_bool(option['enable_drop_screenshot'])
|
||||
self.SCREEN_SHOT_SAVE_FOLDER_BASE = option['drop_screenshot_folder']
|
||||
self.ENABLE_AZURSTAT = to_bool(option['enable_azurstat'])
|
||||
self.AZURSTAT_ID = option['azurstat_id']
|
||||
# Retirement
|
||||
self.ENABLE_RETIREMENT = to_bool(option['enable_retirement'])
|
||||
self.RETIREMENT_METHOD = option['retire_method']
|
||||
|
||||
Reference in New Issue
Block a user