mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-30 03:10:16 +08:00
feat(安装管理器): 添加安装参数以禁用桌面快捷方式和使用原生安装
添加 --no-create-desktop-entry 和 --native 参数以避免创建桌面快捷方式并确保使用原生安装方式
This commit is contained in:
@@ -263,6 +263,8 @@ ipcMain.on("queue-install", async (event, download_json) => {
|
|||||||
"ssinstall",
|
"ssinstall",
|
||||||
`${downloadDir}/${filename}`,
|
`${downloadDir}/${filename}`,
|
||||||
"--delete-after-install",
|
"--delete-after-install",
|
||||||
|
"--no-create-desktop-entry",
|
||||||
|
"--native",
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
execParams.push("aptss", "install", "-y", pkgname);
|
execParams.push("aptss", "install", "-y", pkgname);
|
||||||
|
|||||||
Reference in New Issue
Block a user