diff --git a/dislocker_client_shutdown.py b/dislocker_client_shutdown.py index 4082e15..a82839f 100644 --- a/dislocker_client_shutdown.py +++ b/dislocker_client_shutdown.py @@ -2,6 +2,7 @@ import os import json import tkinter.messagebox import customtkinter +import tkinter import subprocess import requests import tkinter @@ -44,7 +45,7 @@ def init(**kwargs): return 0 -class App(customtkinter.CTk): +class App(tkinter.Tk): def __init__(self): super().__init__() @@ -60,10 +61,10 @@ class App(customtkinter.CTk): self.protocol("WM_DELETE_WINDOW", self.handler_close) - self.frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color='transparent') + self.frame = tkinter.Frame(self) self.frame.grid(row=0, column=0, sticky='nsew') - self.withdraw() + self.iconify() def delete_appdata(self, **kwargs): process_name = kwargs["process_name"]