mirror of
https://github.com/Anjok07/ultimatevocalremovergui.git
synced 2025-01-19 17:18:39 +01:00
Added Icon to Window
This commit is contained in:
parent
7dfa8c2541
commit
dc2b67b80b
@ -36,10 +36,12 @@ else:
|
||||
base_path = os.path.dirname(os.path.abspath(__file__))
|
||||
os.chdir(base_path) # Change the current working directory to the base path
|
||||
|
||||
image_foler = 'img'
|
||||
instrumentalModels_dir = os.path.join(base_path, 'models')
|
||||
stackedModels_dir = os.path.join(base_path, 'models')
|
||||
banner_path = os.path.join(base_path, 'img', 'UVR-banner.png')
|
||||
refresh_path = os.path.join(base_path, 'img', 'refresh.png')
|
||||
banner_path = os.path.join(base_path, image_foler, 'UVR-banner.png')
|
||||
refresh_path = os.path.join(base_path, image_foler, 'refresh.png')
|
||||
icon_path = os.path.join(base_path, image_foler, 'UVR-icon.ico')
|
||||
DEFAULT_DATA = {
|
||||
'exportPath': '',
|
||||
'inputPaths': [],
|
||||
@ -266,6 +268,7 @@ class MainWindow(TkinterDnD.Tk):
|
||||
ypad=int(self.winfo_screenheight()/2 - height/2 - 30)))
|
||||
self.configure(bg='#000000') # Set background color to black
|
||||
self.protocol("WM_DELETE_WINDOW", self.save_values)
|
||||
self.iconbitmap(icon_path)
|
||||
self.resizable(False, False)
|
||||
self.update()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user