Handle the difference between atom-shell binaries

This commit is contained in:
Matt Colyer 2013-10-25 16:20:30 -07:00
parent b02d906cfb
commit 3fa7c8fb48

View File

@ -13,6 +13,11 @@ module.exports = (grunt) ->
mkdir path.dirname(buildDir)
cp 'atom-shell/Atom.app', shellAppDir
if process.platform is 'darwin'
cp 'atom-shell/Atom.app', shellAppDir
else if process.platform is 'win32'
cp 'atom-shell/', shellAppDir
mkdir appDir
cp 'atom.sh', path.join(appDir, 'atom.sh')