From 468b8cb69e50819becd068dece8282ab330dfa29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=9A=E5=AD=90?= <40852301+uiYzzi@users.noreply.github.com> Date: Sat, 8 Mar 2025 00:15:11 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=95=86=E5=BA=97=E5=90=AF=E5=8A=A8=E7=9A=84=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E4=BC=9A=E9=9A=8F=E7=9D=80=E5=BA=94=E7=94=A8=E5=95=86?= =?UTF-8?q?=E5=BA=97=E5=85=B3=E9=97=AD=E8=80=8C=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://git.spark-app.store/spark-store-private/spark-store/issues/18 --- src-tauri/src/handlers/deb.rs | 1 + 1 file changed, 1 insertion(+) 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))?;