mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
🐛 修复祈愿备份路径错误
This commit is contained in:
@@ -36,7 +36,8 @@ export async function backUpUserData(dir: string): Promise<void> {
|
||||
const uidList = await TSUserGacha.getUidList();
|
||||
for (const uid of uidList) {
|
||||
const dataGacha = await TSUserGacha.getGachaRecords(uid);
|
||||
await exportUigfData(uid, dataGacha);
|
||||
const savePath = `${dir}${path.sep}UIGF_${uid}.json`;
|
||||
await exportUigfData(uid, dataGacha, savePath);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user