linux: Fix upload script.
This commit is contained in:
parent
7a8e43c65e
commit
06a4f83bb7
1 changed files with 3 additions and 1 deletions
|
@ -73,8 +73,10 @@ def get_atom_shell_build_version():
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'Atom.app',
|
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'Atom.app',
|
||||||
'Contents', 'MacOS', 'Atom')
|
'Contents', 'MacOS', 'Atom')
|
||||||
else:
|
elif sys.platform == 'win32':
|
||||||
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom.exe')
|
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()
|
return subprocess.check_output([atom_shell, '--version']).strip()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue