@@ -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))?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user