added hash check when cache location is changed

This commit is contained in:
FinnHornhoover 2023-11-13 01:46:23 +03:00
parent 8f05ace344
commit 4105472d3c

View File

@ -309,6 +309,9 @@ function editConfig() {
) ? dirInput : offlineRoot;
remotefs.writeFileSync(configPath, JSON.stringify(jsonToModify, null, 4));
if (jsonToModify["offline-cache-location"] !== offlineRoot)
handleCache("hash-check");
loadConfig();
}