diff --git a/NW_Splash.png b/NW_Splash.png new file mode 100644 index 000000000..515bf7e43 Binary files /dev/null and b/NW_Splash.png differ diff --git a/umbraedit/guimain.py b/umbraedit/guimain.py index b2eb0380b..e42bcb253 100644 --- a/umbraedit/guimain.py +++ b/umbraedit/guimain.py @@ -110,9 +110,7 @@ class GuiMain(QMainWindow): self._setWindowSize(CONFIG.mainWinSize) self._updateWindowTitle() - nwIcon = CONFIG.assetPath("icons") / "umbraedit.png" - if not safeIsFile(nwIcon): - nwIcon = CONFIG.assetPath("icons") / "umbraedit.svg" + nwIcon = Path(__file__).parent.parent / "UmbraEdit.jpg" self.nwIcon = QIcon(str(nwIcon)) if safeIsFile(nwIcon) else QIcon() self.setWindowIcon(self.nwIcon) QApplication.setWindowIcon(self.nwIcon) diff --git a/umbraedit/splash.py b/umbraedit/splash.py index 4992ebe6f..5ae755958 100644 --- a/umbraedit/splash.py +++ b/umbraedit/splash.py @@ -33,7 +33,7 @@ from PyQt6.QtWidgets import QSplashScreen logger = logging.getLogger(__name__) -SPLASH_IMG = Path(__file__).parent / "assets" / "images" / "splash.png" +SPLASH_IMG = Path(__file__).parent.parent / "NW_Splash.png" class NSplashScreen(QSplashScreen):