fix: move cache to os.tmpdir() (#562)

* fix: move cache to os.tmpdir()

* revert snapshot
This commit is contained in:
shadyzoz
2020-06-18 23:25:45 +08:00
committed by GitHub
parent 78858bfb94
commit 8f3e54b1c5
4 changed files with 14 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ program
if (program.clear) {
require('../lib/certMgr').clearCerts(() => {
util.deleteFolderContentsRecursive(util.getAnyProxyPath('cache'));
util.deleteFolderContentsRecursive(util.getAnyProxyTmpPath());
console.log(color.green('done !'));
process.exit(0);
});