force rescan on startup, remove automatic reversal of stopped scan setting

This commit is contained in:
Stanley Dimant
2022-09-25 14:56:01 +02:00
parent a02c872307
commit 5b5bb043bd
2 changed files with 1 additions and 7 deletions

View File

@@ -210,12 +210,6 @@ namespace MareSynchronos
Version = 5;
Save();
}
if (FileScanPaused)
{
FileScanPaused = false;
Save();
}
}
}
}

View File

@@ -230,6 +230,6 @@ public class PeriodicFileScanner : IDisposable
{
if (!_ipcManager.Initialized || !_pluginConfiguration.HasValidSetup()) return;
Logger.Verbose("Penumbra is active, configuration is valid, starting watchers and scan");
InvokeScan();
InvokeScan(true);
}
}