Rename Electron exe to Atom

This commit is contained in:
Kevin Sawicki 2015-05-20 12:36:30 -07:00 committed by Thomas Johansen
parent 49e7c6fd86
commit 3bfef54f44
2 changed files with 3 additions and 0 deletions

View File

@ -263,5 +263,6 @@ module.exports = (grunt) ->
grunt.registerTask('ci', ciTasks)
defaultTasks = ['download-electron', 'download-electron-chromedriver', 'build', 'set-version', 'generate-asar']
# defaultTasks.push 'install' unless process.platform is 'linux'
console.log buildDir
grunt.registerTask('default', defaultTasks)

View File

@ -16,9 +16,11 @@ module.exports = (grunt) ->
if process.platform is 'darwin'
cp 'electron/Electron.app', shellAppDir, filter: /default_app/
fs.renameSync path.join(shellAppDir, 'Contents', 'MacOS', 'Electron'), path.join(shellAppDir, 'Contents', 'MacOS', 'Atom')
else
cp 'electron', shellAppDir, filter: /default_app/
mkdir appDir
if process.platform isnt 'win32'