create updates folder, open oml in background
This commit is contained in:
parent
a723709641
commit
6be1e2cad5
1 changed files with 2 additions and 1 deletions
3
install
3
install
|
@ -116,6 +116,7 @@ class Install(Thread):
|
||||||
os.system('./ctl install_launcher')
|
os.system('./ctl install_launcher')
|
||||||
with open('config/release.json', 'w') as fd:
|
with open('config/release.json', 'w') as fd:
|
||||||
json.dump(release, fd, indent=2)
|
json.dump(release, fd, indent=2)
|
||||||
|
os.makedirs('updates')
|
||||||
os.system('./ctl setup')
|
os.system('./ctl setup')
|
||||||
self.status['progress'] = 1
|
self.status['progress'] = 1
|
||||||
self.status['done'] = True
|
self.status['done'] = True
|
||||||
|
@ -168,4 +169,4 @@ if __name__ == '__main__':
|
||||||
install = Install(target)
|
install = Install(target)
|
||||||
install.join()
|
install.join()
|
||||||
if not install.failed:
|
if not install.failed:
|
||||||
subprocess.call([os.path.join(target, 'ctl'), 'open'])
|
subprocess.Popen([os.path.join(target, 'ctl'), 'open'])
|
||||||
|
|
Loading…
Reference in a new issue