ci(mac): Rename the app Nylas N1 on the Mac

This commit is contained in:
Ben Gotow 2015-10-20 18:36:39 -07:00
parent e12ab4f753
commit 68323f05f7
2 changed files with 3 additions and 3 deletions

View file

@ -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')

View file

@ -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"