From 68323f05f7048a4d31c4b6ef64654f0418dc3232 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Tue, 20 Oct 2015 18:36:39 -0700 Subject: [PATCH] ci(mac): Rename the app Nylas N1 on the Mac --- build/Gruntfile.coffee | 2 +- script/set-version | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/Gruntfile.coffee b/build/Gruntfile.coffee index 26a373c73..6dfb1969a 100644 --- a/build/Gruntfile.coffee +++ b/build/Gruntfile.coffee @@ -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') diff --git a/script/set-version b/script/set-version index c6120cf9d..b64d206d9 100755 --- a/script/set-version +++ b/script/set-version @@ -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"