mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Rename electron executable on Linux and Windows
This commit is contained in:
committed by
Thomas Johansen
parent
a04515b897
commit
7a929d60ca
@@ -22,6 +22,11 @@ module.exports = (grunt) ->
|
||||
else
|
||||
cp 'electron', shellAppDir, filter: /default_app/
|
||||
|
||||
if process.platform is 'win32'
|
||||
fs.renameSync path.join(shellAppDir, 'electron.exe'), path.join(shellAppDir, 'atom.exe')
|
||||
else
|
||||
fs.renameSync path.join(shellAppDir, 'electron'), path.join(shellAppDir, 'atom')
|
||||
|
||||
mkdir appDir
|
||||
|
||||
if process.platform isnt 'win32'
|
||||
|
||||
Reference in New Issue
Block a user