update for Linxu AppImage

This commit is contained in:
Barry-Thomas-Paul: Moss 2023-10-19 15:29:02 -04:00
parent c9b9bfdf0a
commit 910e5f54b1
2 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

Binary file not shown.