Add macOS about menu and test plugin support(early state).
This commit is contained in:
1 parent
77c4be7dcf
commit
deb06f0190
10 files changed
+85
-9
No files matched your search
@@ -94,11 +94,13 @@ class Launcher(QApplication, LauncherObject):
|
||||
move_window_to_center(self.main_window)
|
||||
|
||||
# Set icon
|
||||
if self.icon_path.exists() and platform.system().lower() != "darwin":
|
||||
icon_existing = self.icon_path.exists()
|
||||
if icon_existing and platform.system().lower() != "darwin":
|
||||
self.setWindowIcon(QIcon(self.icon_path.as_posix()))
|
||||
else:
|
||||
elif not icon_existing:
|
||||
self.logger.error("No icon found.")
|
||||
|
||||
|
||||
def exec(self):
|
||||
# init managers
|
||||
self.profile_manager.profile_load.emit()
|
||||
|
||||
Reference in new issue
Block a user