mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 09:20:18 +08:00
refactor(install-manager): 更新可升级软件包列表命令路径
This commit is contained in:
@@ -331,8 +331,8 @@ ipcMain.on('remove-installed', async (_event, pkgname: string) => {
|
||||
|
||||
ipcMain.handle('list-upgradable', async () => {
|
||||
const { code, stdout, stderr } = await runCommandCapture(
|
||||
'/usr/bin/amber-pm-debug',
|
||||
['aptss', 'list', '--upgradable']);
|
||||
'/opt/apm-app-store/extras/shell-caller.sh',
|
||||
['apm', 'list', '--upgradable']);
|
||||
if (code !== 0) {
|
||||
logger.error(`list-upgradable failed: ${stderr || stdout}`);
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user