config migration: also migrate indexeddb
This commit is contained in:
parent
eddc1de784
commit
3ac0ed3d78
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@ if (existsSync(LEGACY_DATA_DIR)) {
|
|||
renameSync(join(LEGACY_DATA_DIR, file), join(DATA_DIR, file));
|
||||
}
|
||||
rmdirSync(LEGACY_DATA_DIR);
|
||||
renameSync(
|
||||
join(app.getPath("appData"), "VencordDesktop", "IndexedDB"),
|
||||
join(DATA_DIR, "sessionData", "IndexedDB")
|
||||
);
|
||||
} catch (e) {
|
||||
console.error("Migration failed", e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue