diff --git a/DMMGamePlayerFastLauncher/lib/DGPSessionV2.py b/DMMGamePlayerFastLauncher/lib/DGPSessionV2.py index e8041a8..6cd494f 100644 --- a/DMMGamePlayerFastLauncher/lib/DGPSessionV2.py +++ b/DMMGamePlayerFastLauncher/lib/DGPSessionV2.py @@ -201,8 +201,12 @@ def logger(self, res: requests.Response) -> requests.Response: def lunch(self, product_id: str, game_type: str) -> requests.Response: if game_type == "GCL": url = self.LAUNCH_CL - else: + elif game_type == "ACL": + url = self.LAUNCH_CL + elif game_type == "AMAIN": url = self.LAUNCH_PKG + else: + raise Exception("Unknown game_type: " + game_type + " " + product_id) json = { "product_id": product_id, "game_type": game_type, diff --git a/DMMGamePlayerFastLauncher/static/env.py b/DMMGamePlayerFastLauncher/static/env.py index 31a7caf..d460377 100644 --- a/DMMGamePlayerFastLauncher/static/env.py +++ b/DMMGamePlayerFastLauncher/static/env.py @@ -8,7 +8,7 @@ class Env(Dump): - VERSION = "v5.1.1" + VERSION = "v5.1.2" RELEASE_VERSION = requests.get(UrlConfig.RELEASE_API).json().get("tag_name", VERSION) DEVELOP: bool = os.environ.get("ENV") == "DEVELOP" diff --git a/setup.iss b/setup.iss index b43fb02..903e0a0 100644 --- a/setup.iss +++ b/setup.iss @@ -2,7 +2,7 @@ ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "DMMGamePlayerFastLauncher" -#define MyAppVersion "5.1.1" +#define MyAppVersion "5.1.2" #define MyAppPublisher "yuki" #define MyAppURL "https://github.com/fa0311/DMMGamePlayerFastLauncher" #define MyAppExeName "DMMGamePlayerFastLauncher.exe"