Fix: Re-Register Settings Export Function (#63)

This commit is contained in:
Youwes09
2026-05-03 11:35:09 -05:00
parent c0f0ff9bd3
commit efdd8ff95d
5 changed files with 19 additions and 14 deletions
+3 -1
View File
@@ -77,7 +77,9 @@ pub fn auto_backup_app_data(app: tauri::AppHandle, bytes: Vec<u8>) -> Result<(),
#[tauri::command]
pub fn get_auto_backup_dir(app: tauri::AppHandle) -> String {
backup_dir(&app).to_string_lossy().into_owned()
let dir = backup_dir(&app);
let _ = std::fs::create_dir_all(&dir);
dir.to_string_lossy().into_owned()
}
#[tauri::command]