[fix] fixed save again

This commit is contained in:
kwaroran
2023-06-24 01:28:06 +09:00
parent 58c4c05f83
commit 393ea8239b
3 changed files with 66 additions and 12 deletions

View File

@@ -203,6 +203,7 @@ export async function saveDb(){
})
while(true){
if(changed){
changed = false
const dbData = encodeRisuSave(get(DataBase))
if(isTauri){
await writeBinaryFile('database/database.bin', dbData, {dir: BaseDirectory.AppData})