refactor: core

This commit is contained in:
linyuchen committed 2024-04-26 13:55:35 +08:00
1 parent 20dec19bfe
commit 0ff5b4e90b
56 files changed
+111 -129

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ import { v4 as uuidv4 } from 'uuid';
import { napCatCore } from '@/core';
export const getNapCatDir = () => {
const p = path.join(napCatCore.wrapper.dataPath, 'NapCat');
const p = path.join(napCatCore.dataPath, 'NapCat');
fs.mkdirSync(p, { recursive: true });
return p;
};