mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
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.
This commit is contained in:
parent
48878d2d8c
commit
036a3761ea
1 changed files with 1 additions and 4 deletions
|
|
@ -1078,6 +1078,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
|
||||
internal static bool IsMinimumAppVersionSatisfied(string pluginName, string minimumAppVersion)
|
||||
{
|
||||
// If the minimum app version is not specified in plugin.json, this plugin is compatible with all app versions
|
||||
if (string.IsNullOrEmpty(minimumAppVersion))
|
||||
return true;
|
||||
|
||||
|
|
@ -1093,10 +1094,6 @@ namespace Flow.Launcher.Core.Plugin
|
|||
if (appVersion >= minimumVersion)
|
||||
return true;
|
||||
|
||||
PublicApi.Instance.LogInfo(ClassName,
|
||||
$"Plugin {pluginName} requires minimum Flow Launcher version {minimumAppVersion}, "
|
||||
+ $"but current version is {Constant.Version}.");
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue