setting home path now works

This commit is contained in:
Iaphetes 2025-03-08 19:50:09 +01:00
parent 75d172fc3f
commit 2ac3c9a45a
16 changed files with 764 additions and 71 deletions

View file

@ -0,0 +1,13 @@
// #[tauri::command]
// pub fn open_file(app_handle: tauri::AppHandle, relative_path: String) -> Option<String> {
// let mut file = File::open("foo.txt")?;
// let mut contents = String::new();
// file.read_to_string(&mut contents)?;
// assert_eq!(contents, "Hello, world!");
// Ok(())
// }
use std::{path::Path, sync::Mutex};
use crate::Config;
use tauri::Manager;