This commit is contained in:
rootdarkarchon
2023-02-17 00:38:52 +01:00

View File

@@ -197,6 +197,10 @@ public class MarePlugin : MediatorSubscriberBase, IDisposable
{ {
_serviceProvider.GetRequiredService<GposeUi>().Toggle(); _serviceProvider.GetRequiredService<GposeUi>().Toggle();
} }
else if (string.Equals(splitArgs[0], "rescan", StringComparison.OrdinalIgnoreCase))
{
_serviceProvider.GetRequiredService<PeriodicFileScanner>().InvokeScan(forced: true);
}
} }
private void OpenUi() private void OpenUi()