(content: String)
| 285 | |
| 286 | #[tauri::command(async)] |
| 287 | pub fn write_pi_config(content: String) -> Result<(), String> { |
| 288 | let path = resolve_pi_config_path(); |
| 289 | write_config(&path, &content) |
| 290 | } |
| 291 | |
| 292 | #[tauri::command] |
| 293 | pub fn pi_config_path() -> String { |