visual feedback during updates

This commit is contained in:
j 2016-01-12 20:30:51 +05:30
commit 516397ae44
9 changed files with 274 additions and 25 deletions

View file

@ -114,10 +114,10 @@ class Install(Thread):
self.status['installing'] = 'setup'
if sys.platform.startswith('linux'):
os.system('./ctl install_launcher')
os.system('./ctl setup')
self.status['progress'] = 1
with open('config/release.json', 'w') as fd:
json.dump(release, fd, indent=2)
os.system('./ctl setup')
self.status['progress'] = 1
self.status['done'] = True
def download(self, url, filename):