Some minor bugfixing

This commit is contained in:
WolverinDEV
2021-02-15 16:08:17 +01:00
parent 37e3cfc30e
commit d06d350ded
8 changed files with 76 additions and 39 deletions
@@ -12,6 +12,7 @@ let _save_timer: number;
export async function initialize() {
await fs.mkdirp(SETTINGS_DIR);
console.error("Load local storage from: %o", SETTINGS_DIR);
const files = await fs.readdir(SETTINGS_DIR);
for(const file of files) {
const key = decodeURIComponent(file);