修复删除扩展不删除对应目录文件的bug
This commit is contained in:
parent
7a5728232f
commit
9474b3185d
|
@ -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') || [];
|
||||||
|
|
Loading…
Reference in New Issue