Use app name as desktop name by default.
This commit is contained in:
parent
e959a40b49
commit
e7fbe84644
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ setImmediate ->
|
|||
if packageJson.desktopName?
|
||||
app.setDesktopName packageJson.desktopName
|
||||
else
|
||||
app.setDesktopName 'atom-shell.desktop'
|
||||
app.setDesktopName '#{app.getName()}.desktop'
|
||||
|
||||
# Load the chrome extension support.
|
||||
require './chrome-extension.js'
|
||||
|
|
|
@ -497,7 +497,7 @@ Change to indeterminate mode when progress > 1.
|
|||
|
||||
On Linux platform, only supports Unity desktop environment, you need to specify
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue