steamlocate 2.0.0-beta.4

Crate for locating Steam game installation directories (and Steam itself!)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use wasm_bindgen_test::wasm_bindgen_test;

#[wasm_bindgen_test]
#[cfg_attr(
    not(any(target_os = "windows", target_os = "macos", target_os = "linux")),
    ignore = "Needs `locate` feature"
)]
fn locate() {
    #[cfg(any(target_os = "windows", target_os = "macos", target_os = "linux"))]
    unreachable!("Don't run ignored tests silly");
    #[cfg(not(any(target_os = "windows", target_os = "macos", target_os = "linux")))]
    let _ = crate::SteamDir::locate().unwrap_err();
}