[feat] optimization for getting cs2 path + add Toast for auto path
This commit is contained in:
@@ -39,8 +39,8 @@ pub fn get_steam_path() -> Result<String, String> {
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn get_cs_path(name: &str) -> Result<String, String> {
|
||||
wrap_err!(steam::path::get_cs_path(name))
|
||||
pub fn get_cs_path(name: &str, steam_dir: &str) -> Result<String, String> {
|
||||
wrap_err!(steam::path::get_cs_path(name, steam_dir))
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
|
||||
Reference in New Issue
Block a user