fix store dir + feat launch option switch in tray
This commit is contained in:
@@ -111,6 +111,21 @@ pub fn start_watch_loginusers(app: tauri::AppHandle, steam_dir: String) -> Resul
|
||||
wrap_err!(steam::watch::start_watch_loginusers(app, steam_dir))
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn start_watch_cs2_video(
|
||||
app: tauri::AppHandle,
|
||||
steam_dir: String,
|
||||
steam_id32: u32,
|
||||
) -> Result<(), String> {
|
||||
wrap_err!(steam::watch::start_watch_cs2_video(app, steam_dir, steam_id32))
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn stop_watch_cs2_video() -> Result<(), String> {
|
||||
steam::watch::stop_watch_cs2_video();
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn get_cs2_video_config(steam_dir: &str, steam_id32: u32) -> Result<VideoConfig, String> {
|
||||
let p = format!(
|
||||
|
||||
Reference in New Issue
Block a user