mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-26 10:00:50 +08:00
fix(naming): Mac menus and Info.plist should say Nylas Mail
This commit is contained in:
parent
d029e8b959
commit
2464888d28
9 changed files with 23 additions and 29 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "edgehill-build",
|
||||
"description": "Edgehill build",
|
||||
"description": "Nylas Mail build",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/nylas/edgehill.git"
|
||||
|
|
|
@ -13,7 +13,7 @@ commitSha = process.env.JANKY_SHA1
|
|||
token = process.env.EDGEHILL_ACCESS_TOKEN
|
||||
defaultHeaders =
|
||||
Authorization: "token #{token}"
|
||||
'User-Agent': 'Edgehill'
|
||||
'User-Agent': 'Nylas Mail'
|
||||
|
||||
module.exports = (gruntObject) ->
|
||||
grunt = gruntObject
|
||||
|
|
|
@ -44,10 +44,10 @@ module.exports = (grunt) ->
|
|||
shellExePath = path.join(shellAppDir, 'edgehill.exe')
|
||||
|
||||
strings =
|
||||
CompanyName: 'InboxApp, Inc.'
|
||||
FileDescription: 'Edgehill'
|
||||
LegalCopyright: 'Copyright (C) 2014 InboxApp, Inc. All rights reserved'
|
||||
ProductName: 'Edgehill'
|
||||
CompanyName: 'Nylas, Inc.'
|
||||
FileDescription: 'Nylas Mail'
|
||||
LegalCopyright: 'Copyright (C) 2014-2015 Nylas, Inc. All rights reserved'
|
||||
ProductName: 'Nylas Mail'
|
||||
ProductVersion: version
|
||||
|
||||
rcedit = require('rcedit')
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
'/' : 'application:focus-search' # Gmail
|
||||
|
||||
'r' : 'application:reply' # Gmail
|
||||
'R' : 'application:reply-all' # Edgehill
|
||||
'R' : 'application:reply-all' # Nylas Mail
|
||||
'a' : 'application:reply-all' # Gmail
|
||||
'f' : 'application:forward' # Gmail
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
'menu': [
|
||||
{
|
||||
label: 'Edgehill'
|
||||
label: 'Nylas Mail'
|
||||
submenu: [
|
||||
{ label: 'About Edgehill', command: 'application:about' }
|
||||
{ label: 'About Nylas Mail', command: 'application:about' }
|
||||
{ label: 'Link External Account', command: 'atom-workspace:add-account' }
|
||||
{ label: 'Log Out', command: 'application:logout' }
|
||||
{ label: 'VERSION', enabled: false }
|
||||
|
@ -13,7 +13,7 @@
|
|||
{ type: 'separator' }
|
||||
{ label: 'Services', submenu: [] }
|
||||
{ type: 'separator' }
|
||||
{ label: 'Hide Edgehill', command: 'application:hide' }
|
||||
{ label: 'Hide Nylas Mail', command: 'application:hide' }
|
||||
{ label: 'Hide Others', command: 'application:hide-other-applications' }
|
||||
{ label: 'Show All', command: 'application:unhide-all-applications' }
|
||||
{ type: 'separator' }
|
||||
|
|
14
package.json
14
package.json
|
@ -1,22 +1,16 @@
|
|||
{
|
||||
"name": "edgehill",
|
||||
"productName": "Edgehill",
|
||||
"name": "nylas-mail",
|
||||
"productName": "Nylas Mail",
|
||||
"version": "0.178.0",
|
||||
"description": "An email OS",
|
||||
"main": "./src/browser/main.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/atom/atom.git"
|
||||
"url": "https://github.com/nylas/edgehill.git"
|
||||
},
|
||||
"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",
|
||||
"dependencies": {
|
||||
"6to5-core": "^3.5",
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Edgehill</string>
|
||||
<string>Nylas Mail</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Edgehill</string>
|
||||
<string>Nylas Mail</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
|
@ -25,7 +25,7 @@
|
|||
<key>CFBundleVersion</key>
|
||||
<string>0</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.developer-tools</string>
|
||||
<string>public.app-category.business</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.8</string>
|
||||
<key>NSAppleScriptEnabled</key>
|
||||
|
|
|
@ -71,21 +71,21 @@ function bootstrap() {
|
|||
if (process.env.JANKY_SHA1 && process.platform === 'win32')
|
||||
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 += " 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 += " Everything else needs to be compiled against Chromium with `apm`.\n\n"
|
||||
m1 += " $ "+buildInstallCommand+" "+printArgs(buildInstallOptions)+"\n"
|
||||
|
||||
m2 = "---> Installing apm\n"
|
||||
m2 += " This installs apm via Edgehill's `npm`\n"
|
||||
m2 += " We use this local apm copy to install all Edgehill dependencies & packages\n\n"
|
||||
m2 += " This installs apm via Nylas Mails `npm`\n"
|
||||
m2 += " We use this local apm copy to install all Nylas Mail dependencies & packages\n\n"
|
||||
m2 += " $ "+apmInstallCommand+" "+printArgs(apmInstallOptions)+"\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"
|
||||
|
||||
m5 = "---> De-duping packages `apm clean`\n\n"
|
||||
|
|
|
@ -87,7 +87,7 @@ class WindowManager
|
|||
existing.showWhenLoaded()
|
||||
else
|
||||
@newWindow
|
||||
title: 'Welcome to Edgehill'
|
||||
title: 'Welcome to Nylas Mail'
|
||||
frame: false
|
||||
width: 340
|
||||
height: 550
|
||||
|
|
Loading…
Reference in a new issue