diff --git a/src-tauri/src/handlers/deb.rs b/src-tauri/src/handlers/deb.rs index 8aa5ff6..b80944b 100644 --- a/src-tauri/src/handlers/deb.rs +++ b/src-tauri/src/handlers/deb.rs @@ -26,6 +26,7 @@ pub async fn launch_launch_app(pkgname: String) -> Result<(), String> { Command::new("/opt/durapps/spark-store/bin/store-helper/ss-launcher") .arg("launch") .arg(&pkgname) + .process_group(0) .spawn() .map_err(|e| format!("启动应用失败: {}", e))?;