mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 09:20:18 +08:00
fix:已安装的软件不显示打开软件的按钮问题
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user