Fix building on cygwin.

This commit is contained in:
Cheng Zhao 2014-02-25 19:05:38 +08:00
parent a81ef7847d
commit 2ce1d3a784
2 changed files with 6 additions and 6 deletions

View file

@ -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')