mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-08-10 06:14:07 +08:00
feat: 添加 APM 应用管理功能并优化界面
- 新增 APM 应用管理功能,支持显示已安装应用及其依赖项 - 优化已安装应用列表界面,增加应用图标和名称显示 - 调整顶部操作栏布局,将设置和关于按钮移至搜索框旁 - 修复类型定义,增加 isDependency 字段和更多应用信息 - 改进暗色模式下的界面显示效果
This commit is contained in:
@@ -107,6 +107,7 @@ export interface App {
|
||||
installed?: boolean; // Frontend state
|
||||
flags?: string; // Tags in apm packages manager, e.g. "automatic" for dependencies
|
||||
arch?: string; // Architecture, e.g. "amd64", "arm64"
|
||||
isDependency?: boolean; // Whether this is a dependency package
|
||||
currentStatus: "not-installed" | "installed"; // Current installation status
|
||||
isMerged?: boolean; // FLAG for overlapping apps
|
||||
sparkApp?: App; // Optional reference to the spark version
|
||||
@@ -125,10 +126,14 @@ export interface UpdateAppItem {
|
||||
/**************Below are type from main process ********************/
|
||||
export interface InstalledAppInfo {
|
||||
pkgname: string;
|
||||
name: string;
|
||||
version: string;
|
||||
arch: string;
|
||||
flags: string;
|
||||
raw: string;
|
||||
origin: "spark" | "apm";
|
||||
icon?: string;
|
||||
isDependency: boolean;
|
||||
raw?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user