use save dialog for settings instead of autosaving

This commit is contained in:
2023-10-08 22:06:30 -07:00
parent d4fa8966b2
commit 5e0ffc1155
4 changed files with 73 additions and 54 deletions

View File

@ -18,6 +18,7 @@ fn main() {
},
Some(("get", m)) => cli::get(m),
Some(("exec", m)) => cli::exec(m),
Some(("shortcut", m)) => cli::invoke_shortcut(m),
_ => unreachable!(),
};

View File

@ -6,12 +6,11 @@ use tokio::{
sync::oneshot,
};
#[cfg(windows)]
use windows::Win32:: {
Foundation::HANDLE,
System::Pipes::GetNamedPipeClientProcessId,
};
#[cfg(windows)]
use std::os::windows::io::AsRawHandle;
use tauri::async_runtime as rt;