Skip to content

Commit 036a376

Browse files
committed
Remove log for plugin version mismatch in PluginManager
Logging when a plugin's minimum Flow Launcher version is not met has been removed. The method now returns false without logging any informational message.
1 parent 48878d2 commit 036a376

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Flow.Launcher.Core/Plugin/PluginManager.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,6 +1078,7 @@ internal static async Task<bool> UninstallPluginAsync(PluginMetadata plugin, boo
10781078

10791079
internal static bool IsMinimumAppVersionSatisfied(string pluginName, string minimumAppVersion)
10801080
{
1081+
// If the minimum app version is not specified in plugin.json, this plugin is compatible with all app versions
10811082
if (string.IsNullOrEmpty(minimumAppVersion))
10821083
return true;
10831084

@@ -1093,10 +1094,6 @@ internal static bool IsMinimumAppVersionSatisfied(string pluginName, string mini
10931094
if (appVersion >= minimumVersion)
10941095
return true;
10951096

1096-
PublicApi.Instance.LogInfo(ClassName,
1097-
$"Plugin {pluginName} requires minimum Flow Launcher version {minimumAppVersion}, "
1098-
+ $"but current version is {Constant.Version}.");
1099-
11001097
return false;
11011098
}
11021099

0 commit comments

Comments
 (0)