From bebad8e39103fdb5417d8f3fbf53417e07d61560 Mon Sep 17 00:00:00 2001 From: dfrnoch Date: Fri, 16 Aug 2024 16:06:40 +0200 Subject: [PATCH] refactor: :recycle: change save location --- src-tauri/src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/util.rs b/src-tauri/src/util.rs index 51818ee..d166e5f 100644 --- a/src-tauri/src/util.rs +++ b/src-tauri/src/util.rs @@ -7,7 +7,7 @@ use std::path::PathBuf; /// - config.toml pub fn get_app_dir() -> PathBuf { // get app dir with /accounting. use std libary - let path = platform_dirs::AppDirs::new(Some("accounting"), true).unwrap(); + let path = platform_dirs::AppDirs::new(Some("accountingdata"), true).unwrap(); let mut data_dir = path.data_dir; // check if in dev mode