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