Ensure the path is updated in settings in case user has moved Flow to a different location

This commit is contained in:
Jack251970 2026-02-21 20:22:04 +08:00
parent 9b0a50376c
commit d62fd05599

View file

@ -61,6 +61,8 @@ namespace Flow.Launcher.Core.ExternalPlugins.Environments
if (resolvedPath.StartsWith(EnvPath, StringComparison.OrdinalIgnoreCase))
EnsureLatestInstalled(ExecutablePath, resolvedPath, EnvPath);
// Ensure the path is updated in settings in case user has moved Flow to a different location
resolvedPath = ResolvedPluginsSettingsFilePath;
return SetPathForPluginPairs(resolvedPath, Language);
}