Fix upload.py for the rename
This commit is contained in:
parent
0033240c1f
commit
96c886a8f0
1 changed files with 6 additions and 4 deletions
|
@ -102,12 +102,14 @@ def parse_args():
|
||||||
|
|
||||||
def get_atom_shell_build_version():
|
def get_atom_shell_build_version():
|
||||||
if PLATFORM == 'darwin':
|
if PLATFORM == 'darwin':
|
||||||
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'R', 'Atom.app',
|
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'R',
|
||||||
'Contents', 'MacOS', 'Atom')
|
'{0}.app'.format(PRODUCT_NAME), 'Contents',
|
||||||
|
'MacOS', PRODUCT_NAME)
|
||||||
elif PLATFORM == 'win32':
|
elif PLATFORM == 'win32':
|
||||||
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'R', 'atom.exe')
|
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'R',
|
||||||
|
'{0}.exe'.format(PROJECT_NAME))
|
||||||
else:
|
else:
|
||||||
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'R', 'atom')
|
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'R', PROJECT_NAME)
|
||||||
|
|
||||||
return subprocess.check_output([atom_shell, '--version']).strip()
|
return subprocess.check_output([atom_shell, '--version']).strip()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue