This commit is contained in:
手瓜一十雪
2024-08-19 18:53:47 +08:00
parent defb56fd75
commit 692cf37e8f
2 changed files with 6 additions and 6 deletions

View File

@@ -79,7 +79,7 @@ export class NapCatCore {
}
get dataPath(): string {
let result = this.util.getNTUserDataInfoConfig();
let result = this.context.wrapper.NodeQQNTWrapperUtil.getNTUserDataInfoConfig();
if (!result) {
result = path.resolve(os.homedir(), './.config/QQ');
fs.mkdirSync(result, { recursive: true });