[fix] non-windows systems
This commit is contained in:
@ -143,7 +143,10 @@ fn run_game(id: String, state: tauri::State<LanSpreadState>) {
|
|||||||
run_game_windows(id, state);
|
run_game_windows(id, state);
|
||||||
|
|
||||||
#[cfg(not(target_os = "windows"))]
|
#[cfg(not(target_os = "windows"))]
|
||||||
log::error!("run_game not implemented for this platform: id={id}, state={state:?}");
|
{
|
||||||
|
let _ = state;
|
||||||
|
log::error!("run_game not implemented for this platform: id={id}");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_game_install_state_from_path(game_db: &mut GameDB, path: &Path, installed: bool) {
|
fn set_game_install_state_from_path(game_db: &mut GameDB, path: &Path, installed: bool) {
|
||||||
|
Reference in New Issue
Block a user