mirror of
https://github.com/desktop/desktop
synced 2024-08-24 18:57:33 +00:00
Fall back to known CLSID for notifications
This commit is contained in:
parent
9624c70c94
commit
68285a9848
|
@ -16,12 +16,15 @@ function initializeWindowsNotifications() {
|
|||
|
||||
if (windowsToastActivatorClsid === undefined) {
|
||||
console.error(
|
||||
'Toast activator CLSID not found in any of the shortucts. Notifications will not work.'
|
||||
'Toast activator CLSID not found in any of the shortucts. Falling back to known CLSIDs.'
|
||||
)
|
||||
return
|
||||
|
||||
// This is generated by Squirrel.Windows here:
|
||||
// https://github.com/Squirrel/Squirrel.Windows/blob/7396fa50ccebf97e28c79ef519c07cb9eee121be/src/Squirrel/UpdateManager.ApplyReleases.cs#L258
|
||||
windowsToastActivatorClsid = '{27D44D0C-A542-5B90-BCDB-AC3126048BA2}'
|
||||
}
|
||||
|
||||
console.log(`Found toast activator CLSID ${windowsToastActivatorClsid}`)
|
||||
console.log(`Using toast activator CLSID ${windowsToastActivatorClsid}`)
|
||||
initializeNotifications(windowsToastActivatorClsid)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue