From 0d24c19a3de5086fd0361ae65927feb2568e90f5 Mon Sep 17 00:00:00 2001 From: imReker Date: Sun, 12 Feb 2023 01:38:20 +0800 Subject: [PATCH] Fix duplicate entries in Windows notification icon settings because of random GUID generated at startup. --- AltServer/AltServerApp.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/AltServer/AltServerApp.cpp b/AltServer/AltServerApp.cpp index b705f33..aad69c3 100755 --- a/AltServer/AltServerApp.cpp +++ b/AltServer/AltServerApp.cpp @@ -375,12 +375,7 @@ AltServerApp* AltServerApp::instance() AltServerApp::AltServerApp() : _appGroupSemaphore(1) { - HRESULT result = CoCreateGuid(&_notificationIconGUID); - if (result != S_OK) - { - //TODO: Better error handling? - assert(false); - } + CLSIDFromString(L"{96A5974D-D3A2-909A-B6BD-4FF84E7880F6}", &_notificationIconGUID); } AltServerApp::~AltServerApp()