diff --git a/clashroyalebuildabot/gui/layout_setup.py b/clashroyalebuildabot/gui/layout_setup.py index 51664d2..d4cef9b 100644 --- a/clashroyalebuildabot/gui/layout_setup.py +++ b/clashroyalebuildabot/gui/layout_setup.py @@ -1,3 +1,5 @@ +import os + from PyQt6.QtCore import Qt from PyQt6.QtGui import QFont from PyQt6.QtGui import QPixmap @@ -17,6 +19,7 @@ from PyQt6.QtWidgets import QVBoxLayout from PyQt6.QtWidgets import QWidget +from clashroyalebuildabot.constants import IMAGES_DIR from clashroyalebuildabot.gui.gameplay_widget import ImageStreamWindow from clashroyalebuildabot.gui.utils import save_config @@ -29,7 +32,8 @@ def setup_top_bar(main_window): logo_text_layout = QHBoxLayout() logo_label = QLabel() - logo_pixmap = QPixmap("logo.png").scaled( + + logo_pixmap = QPixmap(os.path.join(IMAGES_DIR, "logo.png")).scaled( 120, 120, Qt.AspectRatioMode.KeepAspectRatio, diff --git a/clashroyalebuildabot/images/icon.ico b/clashroyalebuildabot/images/icon.ico new file mode 100644 index 0000000..533794a Binary files /dev/null and b/clashroyalebuildabot/images/icon.ico differ diff --git a/logo.png b/clashroyalebuildabot/images/logo.png similarity index 100% rename from logo.png rename to clashroyalebuildabot/images/logo.png