diff --git a/build.py b/build.py index 5995bea6..1bd4150e 100644 --- a/build.py +++ b/build.py @@ -50,6 +50,7 @@ def build_executable(): "-m", "PyInstaller", "main.py", + "--icon=icons/logo-v2.svg", "--noconfirm", "--noupx", ] @@ -60,6 +61,7 @@ def build_executable(): "-m", "PyInstaller", "main.py", + r"--icon=icons\logo-v2.svg", "--noconfirm", "--noupx", ] diff --git a/main.py b/main.py index abe0dd0f..2220e5ea 100644 --- a/main.py +++ b/main.py @@ -105,7 +105,9 @@ def __init__(self): firstIter=True ) - + icon_path = ":/icons/icons/logo-v2.svg" # Adjust the path to your icon file + self.setWindowIcon(QIcon(icon_path)) + QApplication.setWindowIcon(QIcon(icon_path)) self.setWindowTitle("REAL Video Enhancer") self.setPalette(QApplication.style().standardPalette()) self.setMinimumSize(1100, 700) @@ -164,7 +166,7 @@ def __init__(self): # Startup Animation self.animationHandler = AnimationHandler() self.animationHandler.fadeInAnimation(self) - + def QConnect(self): # connect buttons to switch menus self.homeBtn.clicked.connect(self.switchToHomePage)