fix(安装管理): 将 ssaudit 命令替换为 ssinstall 并添加版本检查

弃用 ssaudit 命令,统一使用 ssinstall 进行安装
在 shell-caller.sh 中添加对 ssaudit 的禁用检查和 ssinstall 失败时的版本提示
This commit is contained in:
2026-03-29 14:24:58 +08:00
parent 5b2d96cf0a
commit 33c48f4543
2 changed files with 12 additions and 1 deletions

View File

@@ -276,7 +276,7 @@ ipcMain.on("queue-install", async (event, download_json) => {
execParams.push("apm");
if (metalinkUrl && filename) {
execParams.push("ssaudit", `${downloadDir}/${filename}`);
execParams.push("ssinstall", `${downloadDir}/${filename}`);
} else {
execParams.push("install", "-y", pkgname);
}