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:
|
elif IS_MAC:
|
||||||
path = self.join(self.config('Module'), '..', 'Resources', PYTHON)
|
path = self.join(self.config('Module'), '..', 'Resources', PYTHON)
|
||||||
else:
|
else:
|
||||||
is_app_image = bool(os.getenv("APPIMAGE", ""))
|
path = sys.executable
|
||||||
if is_app_image:
|
|
||||||
path = self.join(self.config("Module"), "python")
|
|
||||||
else:
|
|
||||||
path = sys.executable
|
|
||||||
return path
|
return path
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Binary file not shown.
|
@ -6184,7 +6184,11 @@ class Paths(object):
|
||||||
elif IS_MAC:
|
elif IS_MAC:
|
||||||
path = self.join(self.config('Module'), '..', 'Resources', PYTHON)
|
path = self.join(self.config('Module'), '..', 'Resources', PYTHON)
|
||||||
else:
|
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
|
return path
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in New Issue