Use app name as desktop name by default.

This commit is contained in:
Haojian Wu 2014-09-18 22:58:17 +08:00
parent e959a40b49
commit e7fbe84644
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ setImmediate ->
if packageJson.desktopName? if packageJson.desktopName?
app.setDesktopName packageJson.desktopName app.setDesktopName packageJson.desktopName
else else
app.setDesktopName 'atom-shell.desktop' app.setDesktopName '#{app.getName()}.desktop'
# Load the chrome extension support. # Load the chrome extension support.
require './chrome-extension.js' require './chrome-extension.js'

View file

@ -497,7 +497,7 @@ Change to indeterminate mode when progress > 1.
On Linux platform, only supports Unity desktop environment, you need to specify On Linux platform, only supports Unity desktop environment, you need to specify
the `*.desktop` file name to `desktopName` field in `package.json`. By default, the `*.desktop` file name to `desktopName` field in `package.json`. By default,
it will assume `atom-shell.desktop`. it will assume `app.getName().desktop`.
## Class: WebContents ## Class: WebContents