From d2bb01533b8d44ebd773aac105b2e6b9bbf279b9 Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Sun, 29 Sep 2024 11:40:25 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AD=E3=83=83=E3=82=AF=E8=A7=A3=E9=99=A4?= =?UTF-8?q?=E6=99=82=E3=81=AB=E3=82=B7=E3=83=A3=E3=83=83=E3=83=88=E3=83=80?= =?UTF-8?q?=E3=82=A6=E3=83=B3=E6=99=82=E3=81=AE=E5=AE=9F=E8=A1=8C=E3=83=95?= =?UTF-8?q?=E3=82=A1=E3=82=A4=E3=83=AB=E3=82=92=E5=AE=9F=E8=A1=8C=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dislocker_client.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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()