Merge pull request 'develop' (#11) from AmourSpirit/zaz-pip:develop into develop

Reviewed-on: #11
This commit is contained in:
Mauricio 2023-10-29 16:51:44 -06:00
commit 90aa12adf2
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