修复删除扩展不删除对应目录文件的bug

This commit is contained in:
157 2024-04-14 19:46:03 +08:00
parent 7a5728232f
commit 9474b3185d
1 changed files with 1 additions and 1 deletions

View File

@ -4751,7 +4751,7 @@ export class Game {
game.saveConfigValue('extensionInfo'); game.saveConfigValue('extensionInfo');
} }
if (!game.download || keepFile) return; if (!game.download || keepFile) return;
game.promises.removeDir(`${nonameInitialized}extension/${extensionName}`).catch(console.error); game.promises.removeDir(`extension/${extensionName}`).catch(console.error);
} }
addRecentCharacter() { addRecentCharacter() {
let list = get.config('recentCharacter') || []; let list = get.config('recentCharacter') || [];