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 xiaofeng.mxf
parent 72333fdb55
commit 8099ee1d37
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);
});