mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-05-30 01:31:06 +08:00
fix: 简化包安装检查逻辑并添加二次确认
移除复杂的ACE环境检查逻辑,仅保留基本的dpkg检查 在App.vue中添加二次确认步骤以确保包真实安装
This commit is contained in:
@@ -835,6 +835,15 @@ const refreshInstalledApps = async () => {
|
||||
continue;
|
||||
}
|
||||
|
||||
// 二次确认:使用 check-installed 验证包是否真正安装
|
||||
const isReallyInstalled = await window.ipcRenderer.invoke(
|
||||
"check-installed",
|
||||
{ pkgname: app.pkgname, origin: app.origin },
|
||||
);
|
||||
if (!isReallyInstalled) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (appInfo) {
|
||||
appInfo.flags = app.flags;
|
||||
appInfo.arch = app.arch;
|
||||
|
||||
Reference in New Issue
Block a user