fix(process): absolute executable invoke

This commit is contained in:
DecDuck
2024-12-24 18:30:38 +11:00
parent 94c4931521
commit d16f99fbc3
3 changed files with 25 additions and 24 deletions
+1
View File
@@ -87,6 +87,7 @@ fn fetch_state(state: tauri::State<'_, Mutex<AppState>>) -> Result<AppState, Str
fn setup(handle: AppHandle) -> AppState {
let logfile = FileAppender::builder()
.encoder(Box::new(PatternEncoder::new("{d} | {l} | {f} - {m}{n}")))
.append(false)
.build(DATA_ROOT_DIR.lock().unwrap().join("./drop.log"))
.unwrap();