File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -437,6 +437,12 @@ def launch_bcasl_standalone(workspace_dir: Optional[str] = None) -> int:
437437
438438 app = QApplication (sys .argv )
439439 window = BcaslStandaloneApp (workspace_dir = workspace_dir )
440+ try :
441+ _icon_path = os .path .join (ROOT_DIR , "logo" , "logo2.png" )
442+ if os .path .isfile (_icon_path ):
443+ app .setWindowIcon (QIcon (_icon_path ))
444+ except Exception :
445+ pass
440446 window .show ()
441447 return app .exec ()
442448 except ImportError as e :
@@ -484,7 +490,14 @@ def launch_engines_only_standalone(workspace_dir: Optional[str] = None) -> int:
484490
485491 app = QApplication (sys .argv )
486492 app .setApplicationName ("PyCompiler ARK++ Engines" )
493+ try :
494+ _icon_path = os .path .join (ROOT_DIR , "logo" , "logo2.png" )
495+ if os .path .isfile (_icon_path ):
496+ app .setWindowIcon (QIcon (_icon_path ))
497+ except Exception :
498+ pass
487499 window = EnginesStandaloneGui (workspace_dir = workspace_dir )
500+
488501 window .show ()
489502 return app .exec ()
490503 except ImportError as e :
You can’t perform that action at this time.
0 commit comments