mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-14 00:24:33 +08:00
ci(mac): Rename the app Nylas N1 on the Mac
This commit is contained in:
parent
ef9a80b79b
commit
9a6d51e595
2 changed files with 3 additions and 3 deletions
|
@ -75,7 +75,7 @@ module.exports = (grunt) ->
|
||||||
|
|
||||||
[major, minor, patch] = packageJson.version.split('.')
|
[major, minor, patch] = packageJson.version.split('.')
|
||||||
tmpDir = os.tmpdir()
|
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 = grunt.option('build-dir') ? path.join(tmpDir, 'nylas-build')
|
||||||
buildDir = path.resolve(buildDir)
|
buildDir = path.resolve(buildDir)
|
||||||
installDir = grunt.option('install-dir')
|
installDir = grunt.option('install-dir')
|
||||||
|
|
|
@ -4,8 +4,8 @@ set -e
|
||||||
|
|
||||||
BUILT_PRODUCTS_DIR=$1
|
BUILT_PRODUCTS_DIR=$1
|
||||||
VERSION=$2
|
VERSION=$2
|
||||||
PLIST_PATH="$BUILT_PRODUCTS_DIR/Nylas.app/Contents/Info.plist"
|
PLIST_PATH="$BUILT_PRODUCTS_DIR/Nylas N1.app/Contents/Info.plist"
|
||||||
HELPER_PLIST_PATH="$BUILT_PRODUCTS_DIR/Nylas.app/Contents/Frameworks/Atom Helper.app/Contents/Info.plist"
|
HELPER_PLIST_PATH="$BUILT_PRODUCTS_DIR/Nylas N1.app/Contents/Frameworks/Atom Helper.app/Contents/Info.plist"
|
||||||
|
|
||||||
# Update version
|
# Update version
|
||||||
/usr/libexec/PlistBuddy -c "Set CFBundleShortVersionString $VERSION" "$PLIST_PATH"
|
/usr/libexec/PlistBuddy -c "Set CFBundleShortVersionString $VERSION" "$PLIST_PATH"
|
||||||
|
|
Loading…
Add table
Reference in a new issue