From e24eaf7c720e103b027fa7eb8b2f6110ab147cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Thu, 7 Sep 2023 20:28:48 +0900 Subject: [PATCH 1/2] fix #96 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ふぁ --- DMMGamePlayerFastLauncher/lib/DGPSessionV2.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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, From 7f5768cc42047f996f97728a5eee0f8e1857696f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=B5=E3=81=81?= Date: Thu, 7 Sep 2023 20:30:59 +0900 Subject: [PATCH 2/2] update version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ふぁ --- DMMGamePlayerFastLauncher/static/env.py | 2 +- setup.iss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"