File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Flow.Launcher.Infrastructure/UserSettings Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
- using System . Collections . Generic ;
1
+ using System . Collections . Generic ;
2
2
using Flow . Launcher . Plugin ;
3
3
4
4
namespace Flow . Launcher . Infrastructure . UserSettings
@@ -15,6 +15,13 @@ public void UpdatePluginSettings(List<PluginMetadata> metadatas)
15
15
if ( Plugins . ContainsKey ( metadata . ID ) )
16
16
{
17
17
var settings = Plugins [ metadata . ID ] ;
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.
22
+ if ( metadata . ID == "572be03c74c642baae319fc283e561a8" && metadata . ActionKeywords . Count != settings . ActionKeywords . Count )
23
+ settings . ActionKeywords = metadata . ActionKeywords ;
24
+
18
25
if ( settings . ActionKeywords ? . Count > 0 )
19
26
{
20
27
metadata . ActionKeywords = settings . ActionKeywords ;
You can’t perform that action at this time.
0 commit comments