Try to fix notification in packaged app

This commit is contained in:
Nicolas Werner 2023-10-30 17:01:04 +01:00
parent 99a3e8bcf2
commit a524524a80
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -35,7 +35,8 @@ init()
isInitialized = true; isInitialized = true;
WinToast::instance()->setAppName(L"Nheko"); WinToast::instance()->setAppName(L"Nheko");
WinToast::instance()->setAppUserModelId(WinToast::configureAUMI(L"nheko", L"nheko")); WinToast::instance()->setAppUserModelId(
WinToast::configureAUMI(L"NhekoReborn", L"in.nheko.Nheko"));
if (!WinToast::instance()->initialize()) if (!WinToast::instance()->initialize())
std::wcout << "Your system is not compatible with toast notifications\n"; std::wcout << "Your system is not compatible with toast notifications\n";
} }