We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eab63c6 commit 2a7d7acCopy full SHA for 2a7d7ac
1 file changed
update.py
@@ -16,7 +16,10 @@ def update():
16
else:
17
source_path = os.getcwd().rstrip("/")
18
19
- runtime_path = os.path.dirname(sys.executable)
+ if config.dist_type.startswith("bundle_linux"):
20
+ runtime_path = os.path.normpath(os.path.dirname(sys.executable) + "/../..")
21
+ else:
22
+ runtime_path = os.path.dirname(sys.executable)
23
24
updatesite_path = config.data_dir + "/" + config.updatesite
25
0 commit comments