]> khamidou — GitHub mirrors - electron.git/commitdiff
linux: Fix upload script. v0.10.0
authorCheng Zhao <zcbenz@gmail.com>
Mon, 24 Feb 2014 05:41:16 +0000 (05:41 +0000)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 24 Feb 2014 05:41:16 +0000 (05:41 +0000)
script/upload.py

index e93581e589963ef51887712bae96bc56739b4373..dc44ce73129a7eff0ba2b77ddad48b5005fa6cb0 100755 (executable)
@@ -73,8 +73,10 @@ def get_atom_shell_build_version():
   if sys.platform == 'darwin':
     atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'Atom.app',
                               'Contents', 'MacOS', 'Atom')
-  else:
+  elif sys.platform == 'win32':
     atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom.exe')
+  else:
+    atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom')
 
   return subprocess.check_output([atom_shell, '--version']).strip()