From 3fa7c8fb486a426dc43da9100ef9dc5f6e9f3360 Mon Sep 17 00:00:00 2001 From: Matt Colyer Date: Fri, 25 Oct 2013 16:20:30 -0700 Subject: [PATCH] Handle the difference between atom-shell binaries --- tasks/build-task.coffee | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/build-task.coffee b/tasks/build-task.coffee index ed0878ac3..02bf04375 100644 --- a/tasks/build-task.coffee +++ b/tasks/build-task.coffee @@ -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')