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: