From 23c74f64873382fff3d690f60c06482f0291f6c7 Mon Sep 17 00:00:00 2001 From: KeksNino Date: Mon, 16 Feb 2026 02:34:44 +0100 Subject: [PATCH] fix: wrong assets path on windows --- src/core/interface/gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/interface/gui.py b/src/core/interface/gui.py index 4ae4c98..054e566 100644 --- a/src/core/interface/gui.py +++ b/src/core/interface/gui.py @@ -80,11 +80,11 @@ class MainWindow(QtWidgets.QMainWindow, QWidget): return asset_path if getattr(sys, 'frozen', False) and hasattr(sys, '_MEIPASS'): - asset_path = os.path.join(sys._MEIPASS, 'core', 'interface', 'assets', filename) + asset_path = os.path.join(sys._MEIPASS, 'src', 'core', 'interface', 'assets', filename) if os.path.exists(asset_path): return asset_path - return os.path.join('core', 'interface', 'assets', filename) + return os.path.join('src', 'core', 'interface', 'assets', filename) self.setWindowIcon(QIcon(get_asset_path("logo.png")))