mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +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)
|
grunt.registerTask('ci', ciTasks)
|
||||||
|
|
||||||
defaultTasks = ['download-electron', 'download-electron-chromedriver', 'build', 'set-version', 'generate-asar']
|
defaultTasks = ['download-electron', 'download-electron-chromedriver', 'build', 'set-version', 'generate-asar']
|
||||||
|
# defaultTasks.push 'install' unless process.platform is 'linux'
|
||||||
console.log buildDir
|
console.log buildDir
|
||||||
grunt.registerTask('default', defaultTasks)
|
grunt.registerTask('default', defaultTasks)
|
||||||
|
@ -16,9 +16,11 @@ module.exports = (grunt) ->
|
|||||||
|
|
||||||
if process.platform is 'darwin'
|
if process.platform is 'darwin'
|
||||||
cp 'electron/Electron.app', shellAppDir, filter: /default_app/
|
cp 'electron/Electron.app', shellAppDir, filter: /default_app/
|
||||||
|
fs.renameSync path.join(shellAppDir, 'Contents', 'MacOS', 'Electron'), path.join(shellAppDir, 'Contents', 'MacOS', 'Atom')
|
||||||
else
|
else
|
||||||
cp 'electron', shellAppDir, filter: /default_app/
|
cp 'electron', shellAppDir, filter: /default_app/
|
||||||
|
|
||||||
|
|
||||||
mkdir appDir
|
mkdir appDir
|
||||||
|
|
||||||
if process.platform isnt 'win32'
|
if process.platform isnt 'win32'
|
||||||
|
Loading…
Reference in New Issue
Block a user