Implement libunity launcher badge counter to be set via electron, fixes #4193
This commit is contained in:
parent
90ea0a365c
commit
b22ce93477
4 changed files with 41 additions and 1 deletions
|
@ -45,6 +45,13 @@ if (process.platform === 'darwin') {
|
|||
}
|
||||
}
|
||||
|
||||
if (process.platform === 'linux' && bindings.unityLauncherAvailable()) {
|
||||
app.unityLauncher = {
|
||||
setBadgeCount: bindings.unityLauncherSetBadgeCount,
|
||||
getBadgeCount: bindings.unityLauncherGetBadgeCount
|
||||
};
|
||||
}
|
||||
|
||||
app.allowNTLMCredentialsForAllDomains = function (allow) {
|
||||
if (!process.noDeprecations) {
|
||||
deprecate.warn('app.allowNTLMCredentialsForAllDomains', 'session.allowNTLMCredentialsForDomains')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue