テスト用設定の追加
This commit is contained in:
parent
f6c7342002
commit
3e4798e8d5
1 changed files with 6 additions and 2 deletions
|
@ -15,8 +15,11 @@ class App(customtkinter.CTk):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.title(f"{app_name} | ロック中")
|
self.title(f"{app_name} | ロック中")
|
||||||
self.attributes('-fullscreen', True)
|
if client_config["testing"] == 1:
|
||||||
self.attributes('-topmost', True)
|
pass
|
||||||
|
else:
|
||||||
|
self.attributes('-fullscreen', True)
|
||||||
|
self.attributes('-topmost', True)
|
||||||
|
|
||||||
self.frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color='transparent')
|
self.frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color='transparent')
|
||||||
self.frame.grid(row=0, column=0, sticky='nsew')
|
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",
|
"auth_host_url": "http://localhost",
|
||||||
"pc_number": 1,
|
"pc_number": 1,
|
||||||
"master_password_hash": "",
|
"master_password_hash": "",
|
||||||
|
"testing": 0
|
||||||
|
|
||||||
}
|
}
|
||||||
with open(client_config_path, "w") as w:
|
with open(client_config_path, "w") as w:
|
||||||
|
|
Loading…
Reference in a new issue