-
-
Notifications
You must be signed in to change notification settings - Fork 455
[Program Plugin] Fix program UID and other bugs #1496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
|
|
||
| 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this deleted sorry?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
jjw24
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯 👍 👍
Changes
ProgramSourceis case sensitve so this can happen, which will cause duplicate results:Fixed.
ProgramSourceand removed classDisabledProgramSource.Tests
set).