diff --git a/MEFrp-Launcher.py b/MEFrp-Launcher.py index 8ef745d..8f0bc7b 100644 --- a/MEFrp-Launcher.py +++ b/MEFrp-Launcher.py @@ -26,6 +26,10 @@ def notify(self, a0: QObject, a1: QEvent) -> bool: initMELauncherConfig() del initMELauncherConfig + from MELauncherLib.AppController.Settings import cfg + cfg.set(cfg.oldExecuteable, sys.executable.split("\\")[-1]) + del cfg + MEApplication.setHighDpiScaleFactorRoundingPolicy( Qt.HighDpiScaleFactorRoundingPolicy.PassThrough ) diff --git a/MELauncherLib/AppController/Settings.py b/MELauncherLib/AppController/Settings.py index bf51c2b..584613a 100644 --- a/MELauncherLib/AppController/Settings.py +++ b/MELauncherLib/AppController/Settings.py @@ -69,7 +69,6 @@ def initMELauncherConfig(): if cfg.get(cfg.isFirstGuideFinished): return cfg.set(cfg.isFirstGuideFinished, False) - cfg.set(cfg.oldExecuteable, osp.basename(sys.executable)) cfg.set(cfg.userName, "") cfg.set(cfg.userPassword, "") cfg.set(cfg.userAuthorization, "")