mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-27 10:28:31 +08:00
ci(mac): Rename the app Nylas N1 on the Mac
This commit is contained in:
parent
e12ab4f753
commit
68323f05f7
2 changed files with 3 additions and 3 deletions
|
@ -75,7 +75,7 @@ module.exports = (grunt) ->
|
|||
|
||||
[major, minor, patch] = packageJson.version.split('.')
|
||||
tmpDir = os.tmpdir()
|
||||
appName = if process.platform is 'darwin' then 'Nylas.app' else 'Nylas'
|
||||
appName = if process.platform is 'darwin' then 'Nylas N1.app' else 'Nylas'
|
||||
buildDir = grunt.option('build-dir') ? path.join(tmpDir, 'nylas-build')
|
||||
buildDir = path.resolve(buildDir)
|
||||
installDir = grunt.option('install-dir')
|
||||
|
|
|
@ -4,8 +4,8 @@ set -e
|
|||
|
||||
BUILT_PRODUCTS_DIR=$1
|
||||
VERSION=$2
|
||||
PLIST_PATH="$BUILT_PRODUCTS_DIR/Nylas.app/Contents/Info.plist"
|
||||
HELPER_PLIST_PATH="$BUILT_PRODUCTS_DIR/Nylas.app/Contents/Frameworks/Atom Helper.app/Contents/Info.plist"
|
||||
PLIST_PATH="$BUILT_PRODUCTS_DIR/Nylas N1.app/Contents/Info.plist"
|
||||
HELPER_PLIST_PATH="$BUILT_PRODUCTS_DIR/Nylas N1.app/Contents/Frameworks/Atom Helper.app/Contents/Info.plist"
|
||||
|
||||
# Update version
|
||||
/usr/libexec/PlistBuddy -c "Set CFBundleShortVersionString $VERSION" "$PLIST_PATH"
|
||||
|
|
Loading…
Reference in a new issue