fix(naming): Mac menus and Info.plist should say Nylas Mail

This commit is contained in:
Ben Gotow 2015-05-16 11:12:43 -07:00
parent d029e8b959
commit 2464888d28
9 changed files with 23 additions and 29 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "edgehill-build", "name": "edgehill-build",
"description": "Edgehill build", "description": "Nylas Mail build",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/nylas/edgehill.git" "url": "https://github.com/nylas/edgehill.git"

View file

@ -13,7 +13,7 @@ commitSha = process.env.JANKY_SHA1
token = process.env.EDGEHILL_ACCESS_TOKEN token = process.env.EDGEHILL_ACCESS_TOKEN
defaultHeaders = defaultHeaders =
Authorization: "token #{token}" Authorization: "token #{token}"
'User-Agent': 'Edgehill' 'User-Agent': 'Nylas Mail'
module.exports = (gruntObject) -> module.exports = (gruntObject) ->
grunt = gruntObject grunt = gruntObject

View file

@ -44,10 +44,10 @@ module.exports = (grunt) ->
shellExePath = path.join(shellAppDir, 'edgehill.exe') shellExePath = path.join(shellAppDir, 'edgehill.exe')
strings = strings =
CompanyName: 'InboxApp, Inc.' CompanyName: 'Nylas, Inc.'
FileDescription: 'Edgehill' FileDescription: 'Nylas Mail'
LegalCopyright: 'Copyright (C) 2014 InboxApp, Inc. All rights reserved' LegalCopyright: 'Copyright (C) 2014-2015 Nylas, Inc. All rights reserved'
ProductName: 'Edgehill' ProductName: 'Nylas Mail'
ProductVersion: version ProductVersion: version
rcedit = require('rcedit') rcedit = require('rcedit')

View file

@ -9,7 +9,7 @@
'/' : 'application:focus-search' # Gmail '/' : 'application:focus-search' # Gmail
'r' : 'application:reply' # Gmail 'r' : 'application:reply' # Gmail
'R' : 'application:reply-all' # Edgehill 'R' : 'application:reply-all' # Nylas Mail
'a' : 'application:reply-all' # Gmail 'a' : 'application:reply-all' # Gmail
'f' : 'application:forward' # Gmail 'f' : 'application:forward' # Gmail

View file

@ -1,8 +1,8 @@
'menu': [ 'menu': [
{ {
label: 'Edgehill' label: 'Nylas Mail'
submenu: [ submenu: [
{ label: 'About Edgehill', command: 'application:about' } { label: 'About Nylas Mail', command: 'application:about' }
{ label: 'Link External Account', command: 'atom-workspace:add-account' } { label: 'Link External Account', command: 'atom-workspace:add-account' }
{ label: 'Log Out', command: 'application:logout' } { label: 'Log Out', command: 'application:logout' }
{ label: 'VERSION', enabled: false } { label: 'VERSION', enabled: false }
@ -13,7 +13,7 @@
{ type: 'separator' } { type: 'separator' }
{ label: 'Services', submenu: [] } { label: 'Services', submenu: [] }
{ type: 'separator' } { type: 'separator' }
{ label: 'Hide Edgehill', command: 'application:hide' } { label: 'Hide Nylas Mail', command: 'application:hide' }
{ label: 'Hide Others', command: 'application:hide-other-applications' } { label: 'Hide Others', command: 'application:hide-other-applications' }
{ label: 'Show All', command: 'application:unhide-all-applications' } { label: 'Show All', command: 'application:unhide-all-applications' }
{ type: 'separator' } { type: 'separator' }

View file

@ -1,22 +1,16 @@
{ {
"name": "edgehill", "name": "nylas-mail",
"productName": "Edgehill", "productName": "Nylas Mail",
"version": "0.178.0", "version": "0.178.0",
"description": "An email OS", "description": "An email OS",
"main": "./src/browser/main.js", "main": "./src/browser/main.js",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/atom/atom.git" "url": "https://github.com/nylas/edgehill.git"
}, },
"bugs": { "bugs": {
"url": "https://github.com/atom/atom/issues" "url": "https://github.com/nylas/edgehill/issues"
}, },
"licenses": [
{
"type": "MIT",
"url": "http://github.com/atom/atom/raw/master/LICENSE.md"
}
],
"atomShellVersion": "0.21.0", "atomShellVersion": "0.21.0",
"dependencies": { "dependencies": {
"6to5-core": "^3.5", "6to5-core": "^3.5",

View file

@ -11,9 +11,9 @@
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>Edgehill</string> <string>Nylas Mail</string>
<key>CFBundleDisplayName</key> <key>CFBundleDisplayName</key>
<string>Edgehill</string> <string>Nylas Mail</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
@ -25,7 +25,7 @@
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>0</string> <string>0</string>
<key>LSApplicationCategoryType</key> <key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string> <string>public.app-category.business</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
<string>10.8</string> <string>10.8</string>
<key>NSAppleScriptEnabled</key> <key>NSAppleScriptEnabled</key>

View file

@ -71,21 +71,21 @@ function bootstrap() {
if (process.env.JANKY_SHA1 && process.platform === 'win32') if (process.env.JANKY_SHA1 && process.platform === 'win32')
apmInstallCommand += ' --arch=ia32'; apmInstallCommand += ' --arch=ia32';
m1 = "---> Installing Edgehill build tools\n" m1 = "---> Installing Nylas Mail build tools\n"
m1 += " This goes inside the `build` folder and runs `npm install`\n" m1 += " This goes inside the `build` folder and runs `npm install`\n"
m1 += " It will use the system `npm` to bootstrap our own Edgehill npm.\n" m1 += " It will use the system `npm` to bootstrap our own Nylas Mail npm.\n"
m1 += " Our build tools (like Grunt) need to be compiled against Node via `npm`.\n" m1 += " Our build tools (like Grunt) need to be compiled against Node via `npm`.\n"
m1 += " Everything else needs to be compiled against Chromium with `apm`.\n\n" m1 += " Everything else needs to be compiled against Chromium with `apm`.\n\n"
m1 += " $ "+buildInstallCommand+" "+printArgs(buildInstallOptions)+"\n" m1 += " $ "+buildInstallCommand+" "+printArgs(buildInstallOptions)+"\n"
m2 = "---> Installing apm\n" m2 = "---> Installing apm\n"
m2 += " This installs apm via Edgehill's `npm`\n" m2 += " This installs apm via Nylas Mails `npm`\n"
m2 += " We use this local apm copy to install all Edgehill dependencies & packages\n\n" m2 += " We use this local apm copy to install all Nylas Mail dependencies & packages\n\n"
m2 += " $ "+apmInstallCommand+" "+printArgs(apmInstallOptions)+"\n" m2 += " $ "+apmInstallCommand+" "+printArgs(apmInstallOptions)+"\n"
m3 = "---> Cleaning apm via `apm clean`\n" m3 = "---> Cleaning apm via `apm clean`\n"
m4 = "---> Installing Edgehill dependencies & packages via `apm install`\n\n" m4 = "---> Installing Nylas Mail dependencies & packages via `apm install`\n\n"
m4 += " $ "+moduleInstallCommand+"\n" m4 += " $ "+moduleInstallCommand+"\n"
m5 = "---> De-duping packages `apm clean`\n\n" m5 = "---> De-duping packages `apm clean`\n\n"

View file

@ -87,7 +87,7 @@ class WindowManager
existing.showWhenLoaded() existing.showWhenLoaded()
else else
@newWindow @newWindow
title: 'Welcome to Edgehill' title: 'Welcome to Nylas Mail'
frame: false frame: false
width: 340 width: 340
height: 550 height: 550