Support updating linux bundle
This commit is contained in:
parent
eab63c6af8
commit
2a7d7acce0
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@ def update():
|
|||
else:
|
||||
source_path = os.getcwd().rstrip("/")
|
||||
|
||||
runtime_path = os.path.dirname(sys.executable)
|
||||
if config.dist_type.startswith("bundle_linux"):
|
||||
runtime_path = os.path.normpath(os.path.dirname(sys.executable) + "/../..")
|
||||
else:
|
||||
runtime_path = os.path.dirname(sys.executable)
|
||||
|
||||
updatesite_path = config.data_dir + "/" + config.updatesite
|
||||
|
||||
|
|
Loading…
Reference in a new issue