add logo to gui and assets

This commit is contained in:
Vxrtrauter
2026-01-17 14:30:48 +01:00
parent 847b50ab10
commit 6ff29e2ea6
2 changed files with 10 additions and 1 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

+10 -1
View File
@@ -15,7 +15,7 @@ from PySide6.QtWidgets import (
QHeaderView,
QMessageBox,
QTableWidget,
QTextEdit
QTextEdit,
)
from PySide6.QtGui import QIcon, QAction, QCloseEvent, QImage, QPixmap
@@ -70,6 +70,15 @@ class MainWindow(QtWidgets.QMainWindow, QWidget):
super().__init__()
MainWindow._instance = self
self.log_signal.connect(self._on_log_signal)
self.setWindowIcon(QIcon(os.path.join('core/interface/assets/logo.png')))
if platform.system() == "Windows":
try:
import ctypes
myappid = 'SoftwareManager.App.1'
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
except Exception as e:
consoleLog(f"Could not set app ID: {e}")
build_info_path = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), "build_info.json")
if os.path.exists(build_info_path):