From 3e4798e8d57b50fe5185edc71442939f7d3d58cb Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Mon, 10 Jun 2024 13:46:42 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88=E7=94=A8=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A=E3=81=AE=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dislocker_client.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dislocker_client.py b/dislocker_client.py index bb00374..59e8ccf 100644 --- a/dislocker_client.py +++ b/dislocker_client.py @@ -15,8 +15,11 @@ class App(customtkinter.CTk): def __init__(self): super().__init__() self.title(f"{app_name} | ロック中") - self.attributes('-fullscreen', True) - self.attributes('-topmost', True) + if client_config["testing"] == 1: + pass + else: + self.attributes('-fullscreen', True) + self.attributes('-topmost', True) self.frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color='transparent') self.frame.grid(row=0, column=0, sticky='nsew') @@ -150,6 +153,7 @@ if not os.path.isfile(client_config_path): "auth_host_url": "http://localhost", "pc_number": 1, "master_password_hash": "", + "testing": 0 } with open(client_config_path, "w") as w: