Skip to content

Commit

Permalink
2024-03-17, change version code.
Browse files Browse the repository at this point in the history
  • Loading branch information
hahamic committed Mar 30, 2024
1 parent c43e7c6 commit 4310a74
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
10 changes: 7 additions & 3 deletions chrome_tixcraft.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
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"
Expand Down Expand Up @@ -12629,8 +12629,12 @@ def main(args):
driver = None
if not config_dict is None:
driver = get_driver_by_config(config_dict)
if not config_dict["advanced"]["headless"]:
resize_window(driver, 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!")

Expand Down
2 changes: 1 addition & 1 deletion config_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
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"
Expand Down
2 changes: 1 addition & 1 deletion kktix_signout.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
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"
Expand Down
2 changes: 1 addition & 1 deletion kktix_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

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"
Expand Down
2 changes: 1 addition & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
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"
Expand Down

0 comments on commit 4310a74

Please sign in to comment.