Fix notifications: windows -> window, serialize false setting
This commit is contained in:
parent
16ad94148a
commit
cdfdd6b381
2 changed files with 2 additions and 3 deletions
|
@ -86,7 +86,7 @@
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (windows.config.polyfillNotifications) {
|
if (window.config.polyfillNotifications) {
|
||||||
window.nodeNotifier.notify({
|
window.nodeNotifier.notify({
|
||||||
title: title,
|
title: title,
|
||||||
message: message,
|
message: message,
|
||||||
|
|
3
main.js
3
main.js
|
@ -64,7 +64,6 @@ const loadLocale = require('./app/locale').load;
|
||||||
|
|
||||||
let locale;
|
let locale;
|
||||||
|
|
||||||
|
|
||||||
const WINDOWS_8 = '8.0.0';
|
const WINDOWS_8 = '8.0.0';
|
||||||
const osRelease = os.release();
|
const osRelease = os.release();
|
||||||
const polyfillNotifications =
|
const polyfillNotifications =
|
||||||
|
@ -88,7 +87,7 @@ function prepareURL(pathSegments) {
|
||||||
node_version: process.versions.node,
|
node_version: process.versions.node,
|
||||||
hostname: os.hostname(),
|
hostname: os.hostname(),
|
||||||
appInstance: process.env.NODE_APP_INSTANCE,
|
appInstance: process.env.NODE_APP_INSTANCE,
|
||||||
polyfillNotifications: polyfillNotifications,
|
polyfillNotifications: polyfillNotifications ? true : undefined, // for stringify()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue