fix typo for headless mode
parent
b06371d30d
commit
2535f0f255
|
@ -44,7 +44,7 @@ except Exception as exc:
|
|||
print(exc)
|
||||
pass
|
||||
|
||||
CONST_APP_VERSION = "MaxBot (2024.04.16)"
|
||||
CONST_APP_VERSION = "MaxBot (2024.04.17)"
|
||||
|
||||
CONST_MAXBOT_ANSWER_ONLINE_FILE = "MAXBOT_ONLINE_ANSWER.txt"
|
||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||
|
@ -6186,7 +6186,7 @@ def kktix_main(driver, url, config_dict):
|
|||
print("搶票成功, 帳號:", kktix_account)
|
||||
|
||||
script_name = "chrome_tixcraft"
|
||||
if config_dict["advanced"]["webdriver_type"] == CONST_WEBDRIVER_TYPE_NODRIVER:
|
||||
if config_dict["webdriver_type"] == CONST_WEBDRIVER_TYPE_NODRIVER:
|
||||
script_name = "nodriver_tixcraft"
|
||||
threading.Thread(target=util.launch_maxbot, args=(script_name,"", url, kktix_account, kktix_password,"","false",)).start()
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ import webbrowser
|
|||
|
||||
import util
|
||||
|
||||
CONST_APP_VERSION = "MaxBot (2024.04.16)"
|
||||
CONST_APP_VERSION = "MaxBot (2024.04.17)"
|
||||
|
||||
CONST_MAXBOT_LAUNCHER_FILE = "config_launcher.json"
|
||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||
|
|
|
@ -32,7 +32,7 @@ except Exception as exc:
|
|||
print(exc)
|
||||
pass
|
||||
|
||||
CONST_APP_VERSION = "MaxBot (2024.04.16)"
|
||||
CONST_APP_VERSION = "MaxBot (2024.04.17)"
|
||||
|
||||
CONST_MAXBOT_ANSWER_ONLINE_FILE = "MAXBOT_ONLINE_ANSWER.txt"
|
||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||
|
@ -944,7 +944,7 @@ async def nodriver_kktix_main(tab, url, config_dict):
|
|||
print("搶票成功, 帳號:", kktix_account)
|
||||
|
||||
script_name = "chrome_tixcraft"
|
||||
if config_dict["advanced"]["webdriver_type"] == CONST_WEBDRIVER_TYPE_NODRIVER:
|
||||
if config_dict["webdriver_type"] == CONST_WEBDRIVER_TYPE_NODRIVER:
|
||||
script_name = "nodriver_tixcraft"
|
||||
|
||||
threading.Thread(target=util.launch_maxbot, args=(script_name,"", url, kktix_account, kktix_password,"","false",)).start()
|
||||
|
|
|
@ -39,7 +39,7 @@ try:
|
|||
except Exception as exc:
|
||||
pass
|
||||
|
||||
CONST_APP_VERSION = "MaxBot (2024.04.16)"
|
||||
CONST_APP_VERSION = "MaxBot (2024.04.17)"
|
||||
|
||||
CONST_MAXBOT_ANSWER_ONLINE_FILE = "MAXBOT_ONLINE_ANSWER.txt"
|
||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||
|
|
|
@ -34,7 +34,7 @@ try:
|
|||
except Exception as exc:
|
||||
pass
|
||||
|
||||
CONST_APP_VERSION = "MaxBot (2024.04.16)"
|
||||
CONST_APP_VERSION = "MaxBot (2024.04.17)"
|
||||
|
||||
CONST_MAXBOT_ANSWER_ONLINE_FILE = "MAXBOT_ONLINE_ANSWER.txt"
|
||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||
|
|
Loading…
Reference in New Issue