2024-03-17, change version code.
parent
c43e7c6f80
commit
4310a7459c
|
@ -45,7 +45,7 @@ except Exception as exc:
|
|||
print(exc)
|
||||
pass
|
||||
|
||||
CONST_APP_VERSION = "MaxBot (2024.03.16)"
|
||||
CONST_APP_VERSION = "MaxBot (2024.03.17)"
|
||||
|
||||
CONST_MAXBOT_ANSWER_ONLINE_FILE = "MAXBOT_ONLINE_ANSWER.txt"
|
||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||
|
@ -12629,8 +12629,12 @@ def main(args):
|
|||
driver = None
|
||||
if not config_dict is None:
|
||||
driver = get_driver_by_config(config_dict)
|
||||
if not driver is None:
|
||||
if not config_dict["advanced"]["headless"]:
|
||||
resize_window(driver, config_dict)
|
||||
else:
|
||||
print("無法使用web driver,程式無法繼續工作")
|
||||
sys.exit()
|
||||
else:
|
||||
print("Load config error!")
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ import sys
|
|||
import threading
|
||||
import webbrowser
|
||||
|
||||
CONST_APP_VERSION = "MaxBot (2024.03.16)"
|
||||
CONST_APP_VERSION = "MaxBot (2024.03.17)"
|
||||
|
||||
CONST_MAXBOT_LAUNCHER_FILE = "config_launcher.json"
|
||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||
|
|
|
@ -11,7 +11,7 @@ import requests
|
|||
import asyncio
|
||||
import nodriver as uc
|
||||
|
||||
CONST_APP_VERSION = "MaxBot (2024.03.16)"
|
||||
CONST_APP_VERSION = "MaxBot (2024.03.17)"
|
||||
|
||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||
USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
|
||||
|
|
|
@ -29,7 +29,7 @@ from datetime import datetime
|
|||
|
||||
import requests
|
||||
|
||||
CONST_APP_VERSION = "MaxBot (2024.03.16)"
|
||||
CONST_APP_VERSION = "MaxBot (2024.03.17)"
|
||||
|
||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||
CONST_MAXBOT_KKTIX_CONFIG_FILE = "kktix.json"
|
||||
|
|
|
@ -50,7 +50,7 @@ try:
|
|||
except Exception as exc:
|
||||
pass
|
||||
|
||||
CONST_APP_VERSION = "MaxBot (2024.03.16)"
|
||||
CONST_APP_VERSION = "MaxBot (2024.03.17)"
|
||||
|
||||
CONST_MAXBOT_ANSWER_ONLINE_FILE = "MAXBOT_ONLINE_ANSWER.txt"
|
||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||
|
|
Loading…
Reference in New Issue