fix(clipboard): propagate proxy environment copy failures

This commit is contained in:
Tunglies
2026-10-08 02:12:24 +08:00
parent 5ed291c91f
commit e3dc0b2b5b
4 changed files with 29 additions and 11 deletions
+1 -2
View File
@@ -18,8 +18,7 @@ use tokio::fs;
#[tauri::command]
#[specta::specta]
pub async fn copy_clash_env() -> CmdResult {
feat::copy_clash_env().await;
Ok(())
feat::copy_clash_env().await.stringify_err()
}
#[tauri::command]