Rewrite update script in python.

This commit is contained in:
Cheng Zhao 2013-06-24 15:24:30 +08:00
parent 6bb3f1bba8
commit 3cc304cbe5
3 changed files with 36 additions and 16 deletions

View file

@ -52,8 +52,8 @@ def bootstrap_brightray(url):
def update_atom_shell():
update = os.path.join(SOURCE_ROOT, 'script', 'update')
subprocess.check_call([update])
update = os.path.join(SOURCE_ROOT, 'script', 'update.py')
subprocess.check_call([sys.executable, update])
if __name__ == '__main__':