Merge pull request 'app_image' (#1) from app_image into develop

Reviewed-on: AmourSpirit/zaz-pip#1
This commit is contained in:
AmourSpirit 2023-10-19 17:09:26 -06:00
commit d52472dad7
1 changed files with 5 additions and 1 deletions

View File

@ -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