mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Merge pull request #12925 from electron/unsupported-warning_1-6-x
add end-of-support warning
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user