[feat] basic open path but having issue of path with spaces
This commit is contained in:
@@ -43,6 +43,11 @@ pub fn get_cs_path(name: &str) -> Result<String, String> {
|
||||
wrap_err!(steam::path::get_cs_path(name))
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn open_path(path: &str) -> Result<(), String> {
|
||||
wrap_err!(common::open_path(path))
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn get_powerplan() -> Result<String, String> {
|
||||
#[cfg(target_os = "windows")]
|
||||
|
||||
Reference in New Issue
Block a user