Merge pull request #12925 from electron/unsupported-warning_1-6-x

add end-of-support warning
This commit is contained in:
John Kleinschmidt
2018-05-15 12:04:53 -04:00
committed by GitHub

View File

@@ -52,6 +52,14 @@ if (process.platform === 'darwin') {
}
}
// end-of-life support warning. goodbye, `electron/1-6-x` ...
console.warn(
'Electron 1.6.x has reached the end of its support cycle.\n',
'Developers are encouraged to upgrade their applications to a newer series.\n',
'Read about newer series at https://electronjs.org/releases .\n',
'Read about Electron support at https://electronjs.org/docs/tutorial/support#supported-versions .'
)
if (process.platform === 'linux') {
app.launcher = {
setBadgeCount: bindings.unityLauncherSetBadgeCount,