mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Remove unused method
This commit is contained in:
parent
18acea3321
commit
823fa38dcd
1 changed files with 0 additions and 8 deletions
|
|
@ -241,14 +241,6 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
|||
|
||||
private static List<FileSystemWatcher> _watchers = new();
|
||||
|
||||
private static void GenerateWatcher(string path)
|
||||
{
|
||||
var watcher = new FileSystemWatcher(path);
|
||||
watcher.Created += static (_, _) => Task.Run(Main.IndexUwpPrograms);
|
||||
watcher.Deleted += static (_, _) => Task.Run(Main.IndexUwpPrograms);
|
||||
watcher.EnableRaisingEvents = true;
|
||||
}
|
||||
|
||||
public static void WatchPackageChange()
|
||||
{
|
||||
if (Environment.OSVersion.Version.Build >= 19041)
|
||||
|
|
|
|||
Loading…
Reference in a new issue