mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Make log message context-neutral
This commit is contained in:
parent
dca90916fe
commit
48878d2d8c
1 changed files with 4 additions and 4 deletions
|
|
@ -1086,16 +1086,16 @@ namespace Flow.Launcher.Core.Plugin
|
|||
if (!Version.TryParse(minimumAppVersion, out var minimumVersion))
|
||||
{
|
||||
PublicApi.Instance.LogError(ClassName,
|
||||
$"Failed to parse the minimum app version {minimumAppVersion} for plugin {pluginName}. "
|
||||
+ "Plugin excluded from manifest");
|
||||
$"Failed to parse the minimum app version {minimumAppVersion} for plugin {pluginName}.");
|
||||
return false; // If the minimum app version specified in plugin.json is invalid, we assume it is not satisfied
|
||||
}
|
||||
|
||||
if (appVersion >= minimumVersion)
|
||||
return true;
|
||||
|
||||
PublicApi.Instance.LogInfo(ClassName, $"Plugin {pluginName} requires minimum Flow Launcher version {minimumAppVersion}, "
|
||||
+ $"but current version is {Constant.Version}. Plugin excluded from manifest.");
|
||||
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