Update to work with AppImage
Linxu ppImage Works with this minor fix. Linux FlatPak still not working yet.
This commit is contained in:
parent
910e5f54b1
commit
6ec45c1bb4
|
@ -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.
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue