fix:已安装的软件不显示打开软件的按钮问题

This commit is contained in:
2026-03-11 14:20:23 +08:00
parent e3134afbfb
commit 207334608c
2 changed files with 44 additions and 17 deletions

View File

@@ -466,7 +466,7 @@ const openDetail = (app: App | Record<string, unknown>) => {
const checkAppInstalled = (app: App) => {
window.ipcRenderer
.invoke("check-installed", app.pkgname)
.invoke("check-installed", { pkgname: app.pkgname, origin: app.origin })
.then((isInstalled: boolean) => {
currentAppIsInstalled.value = isInstalled;
});