diff --git a/dislocker_client.py b/dislocker_client.py index 1828bb8..40d42f0 100644 --- a/dislocker_client.py +++ b/dislocker_client.py @@ -447,7 +447,15 @@ class Lock(customtkinter.CTkToplevel): msgbox = tkinter.messagebox.showinfo(title=f"{app_name} | 未実装", message=f"ヘルプページは製作途中です。\nDiscordサーバーの指示に従って、認証を進めてください。") self.deiconify() + def wakeup_shutdown_background(self): + wakeup = subprocess.Popen(f'{dislocker_dir}\\dislocker_client_shutdown.exe', startupinfo=sp_startupinfo) + def exit(self): + try: + self.wakeup_shutdown_background() + except: + pass + self.destroy() app.exit()