mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Update Windows taskbar icon in new version.
This commit is contained in:
parent
3a26644fa2
commit
87ca2c891a
1 changed files with 7 additions and 2 deletions
|
@ -473,10 +473,15 @@ void psNewVersion() {
|
|||
if (Local::oldSettingsVersion() < 8051) {
|
||||
AppUserModelId::checkPinned();
|
||||
}
|
||||
if (Local::oldSettingsVersion() > 0 && Local::oldSettingsVersion() < 10021) {
|
||||
if (Local::oldSettingsVersion() > 0
|
||||
&& Local::oldSettingsVersion() < 2008012) {
|
||||
// Reset icons cache, because we've changed the application icon.
|
||||
if (Dlls::SHChangeNotify) {
|
||||
Dlls::SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, nullptr, nullptr);
|
||||
Dlls::SHChangeNotify(
|
||||
SHCNE_ASSOCCHANGED,
|
||||
SHCNF_IDLIST,
|
||||
nullptr,
|
||||
nullptr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue