ロック解除時にシャットダウン時の実行ファイルを実行するように
This commit is contained in:
parent
8a69b25d52
commit
d2bb01533b
1 changed files with 8 additions and 0 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue