Граф коммитов

2 Коммитов

Автор SHA1 Сообщение Дата
Adam Gashlin 3cfb5253aa Bug 1672957 Do not create or modify a shortcut for the WDBA. r=bytesized
Fixes WinToast failing to find the shortcut to check its AUMI because:
1) the app name given to WinToast did not match the shortcut name, and
2) it wasn't looking in the system-wide Start Menu.

Further, adds an option to fail if shortcut isn't found, rather than create it, because:
a) the shortcut would be to the WDBA, which is not useful, and anyway
b) we're showing the notification immediately after initializing WinToast, which
   is too soon for Windows to reliably pick up on it, so it usually doesn't have the
   desired effect of allowing the custom abstract model.

Differential Revision: https://phabricator.services.mozilla.com/D98838
2020-12-07 23:20:53 +00:00
Kirk Steuber 997d7bd4f2 Bug 1621696 - Vendor WinToast library. r=froydnj,mhoye
The WinToast library is licensed MIT.

This version was vendored via:
wget https://raw.githubusercontent.com/mohabouje/WinToast/09227c72f16ccefc36e9d430dea3b435346dbcbc/src/wintoastlib.cpp
wget https://raw.githubusercontent.com/mohabouje/WinToast/09227c72f16ccefc36e9d430dea3b435346dbcbc/src/wintoastlib.h
wget -O LICENSE https://raw.githubusercontent.com/mohabouje/WinToast/09227c72f16ccefc36e9d430dea3b435346dbcbc/LICENSE.txt

Differential Revision: https://phabricator.services.mozilla.com/D73951
2020-07-01 18:39:05 +00:00