Remove caching logic and initialize emptyResults list

The caching-related code, including `cacheOptions` and `cache`, has been removed from `Main.cs`, indicating that the caching mechanism is no longer in use or has been refactored elsewhere. Additionally, the `emptyResults` list is now explicitly initialized as an empty list (`[]`). No changes were made to the `Context` property or the `commonUninstallerNames` array.
This commit is contained in:
Jack251970 2025-10-26 20:41:06 +08:00
parent 7f5efc5ca1
commit 637d926f7a

View file

@ -33,9 +33,6 @@ namespace Flow.Launcher.Plugin.Program
private static readonly List<Result> emptyResults = [];
private static readonly MemoryCacheOptions cacheOptions = new() { SizeLimit = 1560 };
private static MemoryCache cache = new(cacheOptions);
private static readonly string[] commonUninstallerNames =
{
"uninst.exe",