Test legacy show on win 11

This commit is contained in:
VictoriousRaptor 2023-04-28 11:55:32 +08:00 committed by GitHub
parent 8637c03bda
commit c251a276a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,6 +36,14 @@ namespace Flow.Launcher
LegacyShow(title, subTitle, iconPath);
return;
}
// Test LegacyShow() usability on win 11 22621
// REMOVE BEFORE MERGING
if (Environment.OSVersion.Version.Build >= 22621)
{
LegacyShow(title, subTitle, iconPath);
return;
}
// Using Windows Notification System
var Icon = !File.Exists(iconPath)