diff --git a/source/pythonpath/easymacro.py b/source/pythonpath/easymacro.py index cbb26a0..4ab44ce 100644 --- a/source/pythonpath/easymacro.py +++ b/source/pythonpath/easymacro.py @@ -6184,7 +6184,11 @@ class Paths(object): elif IS_MAC: path = self.join(self.config('Module'), '..', 'Resources', PYTHON) else: - path = sys.executable + is_app_image = bool(os.getenv("APPIMAGE", "")) + if is_app_image: + path = self.join(self.config("Module"), PYTHON) + else: + path = sys.executable return path @classmethod