mirror of
https://github.com/OpenFusionProject/Client.git
synced 2024-11-14 18:50:04 +00:00
added hash check when cache location is changed
This commit is contained in:
parent
6a7b029539
commit
feafd8d17f
@ -309,6 +309,9 @@ function editConfig() {
|
|||||||
) ? dirInput : offlineRoot;
|
) ? dirInput : offlineRoot;
|
||||||
|
|
||||||
remotefs.writeFileSync(configPath, JSON.stringify(jsonToModify, null, 4));
|
remotefs.writeFileSync(configPath, JSON.stringify(jsonToModify, null, 4));
|
||||||
|
|
||||||
|
if (jsonToModify["offline-cache-location"] !== offlineRoot)
|
||||||
|
handleCache("hash-check");
|
||||||
loadConfig();
|
loadConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user