mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-22 00:09:18 +08:00
Fix: Fix wrong command in alas.bat
This commit is contained in:
2
alas.bat
2
alas.bat
@@ -5,7 +5,7 @@ REM Change to your emulator port
|
|||||||
adb connect 127.0.0.1:5565
|
adb connect 127.0.0.1:5565
|
||||||
|
|
||||||
echo initializing uiautomator2
|
echo initializing uiautomator2
|
||||||
python -m uiautomator2 init
|
%~dp0python/python.exe -m uiautomator2 init
|
||||||
|
|
||||||
:: timout
|
:: timout
|
||||||
PowerShell -Command "Start-Sleep -s 3" > nul 2>&1
|
PowerShell -Command "Start-Sleep -s 3" > nul 2>&1
|
||||||
|
|||||||
1
alas.py
1
alas.py
@@ -46,6 +46,7 @@ class AzurLaneAutoScript:
|
|||||||
from module.reward.reward import Reward
|
from module.reward.reward import Reward
|
||||||
az = Reward(self.config, device=self.device)
|
az = Reward(self.config, device=self.device)
|
||||||
az.reward_loop()
|
az.reward_loop()
|
||||||
|
self.update_check()
|
||||||
|
|
||||||
def setting(self):
|
def setting(self):
|
||||||
for key, value in self.config.config['Setting'].items():
|
for key, value in self.config.config['Setting'].items():
|
||||||
|
|||||||
Reference in New Issue
Block a user