File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Flow.Launcher.Infrastructure/UserSettings Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,13 @@ public void UpdatePluginSettings(List<PluginMetadata> metadatas)
16
16
{
17
17
var settings = Plugins [ metadata . ID ] ;
18
18
19
- // TODO: Remove. This is one off for 1.2.0 release.
20
- // Introduced a new action keyword in Explorer, so need to update plugin setting in the UserData folder.
21
- // This kind of plugin meta update should be handled by a dedicated method trigger by version bump.
19
+ // TODO: Remove. This is backwards compatibility for 1.8.0 release.
20
+ // Introduced two new action keywords in Explorer, so need to update plugin setting in the UserData folder.
22
21
if ( metadata . ID == "572be03c74c642baae319fc283e561a8" && metadata . ActionKeywords . Count != settings . ActionKeywords . Count )
23
- settings . ActionKeywords = metadata . ActionKeywords ;
22
+ {
23
+ settings . ActionKeywords . Add ( Query . GlobalPluginWildcardSign ) ; // for index search
24
+ settings . ActionKeywords . Add ( Query . GlobalPluginWildcardSign ) ; // for path search
25
+ }
24
26
25
27
if ( string . IsNullOrEmpty ( settings . Version ) )
26
28
settings . Version = metadata . Version ;
You can’t perform that action at this time.
0 commit comments