Merge remote-tracking branch 'origin/master' into hands-on-hand-off
This commit is contained in:
commit
b53480e15c
75 changed files with 1097 additions and 298 deletions
|
@ -7,8 +7,8 @@ upstream node:
|
|||
|
||||
* `process.type` String - Process's type, can be `browser` (i.e. main process)
|
||||
or `renderer`.
|
||||
* `process.versions['electron']` String - Version of Electron.
|
||||
* `process.versions['chrome']` String - Version of Chromium.
|
||||
* `process.versions.electron` String - Version of Electron.
|
||||
* `process.versions.chrome` String - Version of Chromium.
|
||||
* `process.resourcesPath` String - Path to JavaScript source code.
|
||||
* `process.mas` Boolean - For Mac App Store build, this value is `true`, for
|
||||
other builds it is `undefined`.
|
||||
|
|
|
@ -59,7 +59,7 @@ not (transparent windows won't work correctly when DWM composition is disabled):
|
|||
let browserOptions = {width: 1000, height: 800};
|
||||
|
||||
// Make the window transparent only if the platform supports it.
|
||||
if (process.platform !== 'win32' || app.isAeroGlassEnabled()) {
|
||||
if (process.platform !== 'win32' || systemPreferences.isAeroGlassEnabled()) {
|
||||
browserOptions.transparent = true;
|
||||
browserOptions.frame = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue