Description
Checks
-
I have checked that this issue has not already been reported.
-
I am using the latest version of Flow Launcher.
Problem Description
First of all thanks for the new feature:
Plugin zip file can now be installed locally.
When i use the following command:
pm install N:\Software\Flowlauncher\ProjectLauncher.zip
But the plugin is already installed (so I should have used pm update), I get this exception.
Flow Launcher version: 1.19.0
OS Version: 22621.4037
IntPtr Length: 8
x64: True
Python Path: C:\Users\710\AppData\Roaming\FlowLauncher\Environments\Python\PythonEmbeddable-v3.11.4\pythonw.exe
Node Path:
Date: 09/06/2024 08:40:53
Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Flow.Launcher.Plugin.PluginsManager.PluginsManager.InstallSourceKnown(String url)
at Flow.Launcher.Plugin.PluginsManager.PluginsManager.<>c__DisplayClass21_0.b__0(ActionContext e) in C:\projects\flow-launcher\Plugins\Flow.Launcher.Plugin.PluginsManager\PluginsManager.cs:line 514
at Flow.Launcher.Plugin.Result.ExecuteAsync(ActionContext context) in /_/Flow.Launcher.Plugin/Result.cs:line 246
at Flow.Launcher.ViewModel.MainViewModel.OpenResultAsync(String index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 389
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
One more remark: There is no way to downgrade a plugin once installed.
Thanks!
To Reproduce
- Install plugin via local plugin zip
- Install the same plugin again
Screenshots
No response
Flow Launcher Version
1.19.0
Windows Build Number
10.0.22621.4037
Error Log
Replace this line with the important log contents.