mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 02:03:07 +08:00
add win32 exe renaming
This commit is contained in:
parent
8c764ca75d
commit
13f3669ebf
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,10 @@ module.exports = (grunt) ->
|
|||
cp(path.join(shellAppDir, 'Contents', 'MacOS', 'Electron'),
|
||||
path.join(shellAppDir, 'Contents', 'MacOS', 'Nylas'))
|
||||
rm path.join(shellAppDir, 'Contents', 'MacOS', 'Electron')
|
||||
else if process.platform is 'win32'
|
||||
cp 'electron', shellAppDir, filter: /default_app/
|
||||
cp path.join(shellAppDir, 'electron.exe'), path.join(shellAppDir, 'nylas.exe')
|
||||
rm path.join(shellAppDir, 'electron.exe')
|
||||
else
|
||||
cp 'electron', shellAppDir, filter: /default_app/
|
||||
cp path.join(shellAppDir, 'electron'), path.join(shellAppDir, 'nylas')
|
||||
|
|
Loading…
Reference in a new issue