forked from yuanninesuns/AutoHS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
25 lines (21 loc) · 869 Bytes
/
main.py
File metadata and controls
25 lines (21 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from time import sleep
from FSM_action import system_exit, AutoHS_automata
import keyboard
from log_state import check_name
from print_info import print_info_init
from FSM_action import init
import constants.constants
if __name__ == "__main__":
print("请设置确认当前系统分辨率为:1920-1080")
print("请设置确认当前系统缩放为:100%")
print("请设置确认炉石传说设置为:全屏")
MY_NAME = constants.constants.YOUR_NAME
HEARTHSTONE_POWER_LOG_PATH = constants.constants.HEARTHSTONE_POWER_LOG_PATH
#input("请确认你的用户名为:"+MY_NAME+"。炉石日志文件路径为:"+HEARTHSTONE_POWER_LOG_PATH+"(确认完成后请回车)")
print("你好"+MY_NAME)
sleep(2)
# check_name()
print_info_init()
init()
keyboard.add_hotkey("ctrl+q", system_exit)
AutoHS_automata()