Update to work with AppImage

Linxu ppImage Works with this minor fix.
Linux FlatPak still not working yet.
This commit is contained in:
Barry-Thomas-Paul: Moss 2023-10-19 19:06:50 -04:00
parent 910e5f54b1
commit 6ec45c1bb4
3 changed files with 6 additions and 6 deletions

View File

@ -6184,11 +6184,7 @@ class Paths(object):
elif IS_MAC:
path = self.join(self.config('Module'), '..', 'Resources', PYTHON)
else:
is_app_image = bool(os.getenv("APPIMAGE", ""))
if is_app_image:
path = self.join(self.config("Module"), "python")
else:
path = sys.executable
path = sys.executable
return path
@classmethod

Binary file not shown.

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