[Program Plugin] Fix program UID and other bugs#1496
[Program Plugin] Fix program UID and other bugs#1496jjw24 merged 68 commits intoFlow-Launcher:devfrom
Conversation
1. Add Checkbox to edit program source window 2. Double click item to edit
Sharing violation may occur when reindexing after deleting user added source, causing some uwp programs can't be indexed. Don't actually know why it happens. Try to fix it.
Plugins/Flow.Launcher.Plugin.Program/Views/Models/ProgramSource.cs
Outdated
Show resolved
Hide resolved
| @@ -381,6 +381,7 @@ private static string Extension(string path) | |||
| private static IEnumerable<Win32> UnregisteredPrograms(List<ProgramSource> sources, string[] suffixes, string[] protocols) | |||
| { | |||
| var paths = ExceptDisabledSource(sources.Where(s => Directory.Exists(s.Location) && s.Enabled) | |||
There was a problem hiding this comment.
Have you tested whether parallel give performance boost? In my very early test it is not so significant somehow
There was a problem hiding this comment.
On my computer it is about 30% faster. I will do some more tests and show you the results.
There was a problem hiding this comment.
Parallel gives up to 30% boost on my computer. Not always a significant boost but generally faster.
|
|
||
| namespace Flow.Launcher.Plugin.Program | ||
| { | ||
| //internal static class FileChangeWatcher |
There was a problem hiding this comment.
It's unused. The whole class is commented long ago.
|
@VictoriousRaptor please resolve conflict. |
|
@VictoriousRaptor please update description on what you have tested with this change. |
Updated. Consider a version bump of the plugin? |
|
Check the release pr, I think this plugin already has a feature bump already. |
Changes
ProgramSourceis case sensitve so this can happen, which will cause duplicate results:Fixed.
ProgramSourceand removed classDisabledProgramSource.Tests
set).