Fix building on cygwin.
This commit is contained in:
parent
a81ef7847d
commit
2ce1d3a784
2 changed files with 6 additions and 6 deletions
|
@ -70,10 +70,10 @@ def parse_args():
|
|||
|
||||
|
||||
def get_atom_shell_build_version():
|
||||
if sys.platform == 'darwin':
|
||||
if TARGET_PLATFORM == 'darwin':
|
||||
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'Atom.app',
|
||||
'Contents', 'MacOS', 'Atom')
|
||||
elif sys.platform == 'win32':
|
||||
elif TARGET_PLATFORM == 'win32':
|
||||
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom.exe')
|
||||
else:
|
||||
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue