🐛 修复应用商店启动的应用会随着应用商店关闭而关闭

spark-store-private/spark-store#18
This commit is contained in:
柚子
2025-03-08 00:15:11 +08:00
parent 07f1e6ae27
commit 468b8cb69e

View File

@@ -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))?;