mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-28 00:52:29 +03:00
Rename Electron exe to Atom
This commit is contained in:
parent
49e7c6fd86
commit
3bfef54f44
@ -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)
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user