Commit Graph

60 Commits

Author SHA1 Message Date
d8758834c3 APM 应用管理界面不再随着滚轮滚动 2026-03-24 21:20:59 +08:00
308f5b7ce6 feat: 通过 IPC 实现应用版本号获取功能
移除预加载脚本中的版本号获取逻辑,改为通过 IPC 从主进程获取
2026-03-24 20:58:15 +08:00
7ff079276e feat: 添加 APM 应用管理功能并优化界面
- 新增 APM 应用管理功能,支持显示已安装应用及其依赖项
- 优化已安装应用列表界面,增加应用图标和名称显示
- 调整顶部操作栏布局,将设置和关于按钮移至搜索框旁
- 修复类型定义,增加 isDependency 字段和更多应用信息
- 改进暗色模式下的界面显示效果
2026-03-24 20:47:55 +08:00
cd43f34cbd feat: 添加关于对话框并优化主题切换按钮样式
- 新增 AboutModal 组件显示应用版本和相关信息
- 重构 ThemeToggle 组件为更简洁的图标按钮
- 在侧边栏添加关于按钮并实现打开对话框功能
- 通过预加载脚本获取 package.json 版本号
- 支持命令行参数 --version/-v 显示版本号
2026-03-22 19:18:19 +08:00
c7761e8468 fix(下载): 增强aria2c下载的稳定性和重试机制
添加连接超时、下载超时和重试参数配置
实现0%卡死检测和自动重试逻辑
移除冗余的dpkg-query检测代码
优化安装按钮状态判断逻辑
更新版本号至4.9.9alpha4
2026-03-22 18:35:41 +08:00
6729e321a6 去除界面优化 2026-03-15 17:00:58 +08:00
dbfe86aa64 feat: enhance UI and functionality across components
- Added Google Fonts preconnect and stylesheet link in `index.html` for improved typography.
- Updated version in `package.json` to `4.9.9alpha3`.
- Refined launch configuration by removing deprecated arguments.
- Improved app detail modal and card components for better accessibility and visual consistency.
- Enhanced download queue and sidebar components with updated styles and functionality.
- Implemented new utility classes for better styling control in CSS.
- Adjusted various components for improved responsiveness and user experience.
2026-03-15 15:21:29 +08:00
7e1f85c058 修复切换页签时会清空搜索框的问题 2026-03-15 14:47:48 +08:00
4ecea4a8b8 feat: enhance app detail modal to prioritize installed version based on installation status
- Updated `openDetail` function to check installation status for both Spark and APM versions, setting `viewingOrigin` accordingly.
- Modified logic to determine which app version to display in screenshots based on installation status.
- Improved handling of `viewingOrigin` in `AppDetailModal.vue` to default to Spark if no specific version is installed.
2026-03-15 10:54:33 +08:00
vmomenv
16066d0b5f fix: correctly display download source based on app origin
When downloading applications, the download source was incorrectly
hardcoded to always show "APM Store" in the DownloadDetail component.
This changes it to use the `download.origin` property to accurately
display either "Spark Store" or "APM Store" based on the application's
origin, without altering any underlying download logic.
2026-03-12 09:12:38 +00:00
vmomenv
1fb81c0409 feat: display cross-version installation status in app detail modal
- Replaced single `currentAppIsInstalled` boolean with `currentAppSparkInstalled` and `currentAppApmInstalled` in global store.
- Updated `checkAppInstalled` logic in `App.vue` to fetch the installation status for both Spark and APM versions via `ipcRenderer`.
- Passed both flags to `AppDetailModal.vue` as props.
- Enhanced `AppDetailModal.vue` to compute the "install" button text dynamically: if viewing Spark and APM is installed, it displays `(已安装apm版)`; if viewing APM and Spark is installed, it displays `(已安装spark版)`. The button is also disabled in these scenarios to prevent duplicate cross-version installations.
2026-03-12 08:19:37 +00:00
vmomenv
3995d2bbc0 fix: pass app origin to remove-installed ipc in UninstallConfirmModal
When triggering the uninstall process from the uninstall confirmation modal,
only the package name string was passed. This caused the backend to
default the origin to 'spark', which meant APM applications were incorrectly
attempted to be uninstalled using `aptss remove` instead of `apm remove`.

This commit changes the `remove-installed` ipc payload in
`UninstallConfirmModal.vue` to an object containing both `pkgname` and
`origin`, ensuring the backend correctly routes the uninstallation
through the APM package manager with `pkexec` when needed.
2026-03-12 06:55:48 +00:00
vmomenv
70cab0182d feat: 仅保留混合模式并根据架构动态构建请求路径
- 删除 AppSidebar.vue 中的 StoreModeSwitcher 引入并删除该组件。
- 强制设置当前商店模式为 'hybrid'。
- 修复了因为 `window.apm_store.arch` 包含 `-store` 或 `-apm` 后缀导致路径替换异常的问题,现在会通过动态添加后缀来构建资源请求路径,以兼容 Spark Store 和 APM Store 服务器不同的资源组织结构。
2026-03-12 01:39:00 +00:00
16f7b62491 fix:修复商店无法调起apm软件的问题 2026-03-11 16:08:51 +08:00
b3cef63bf5 feat:混合模式下,当点击“Spark”或“APM”的子开关时,也会刷新是否已安装逻辑 2026-03-11 14:24:14 +08:00
5bc68f5a9a update:修复github工作流问题 2026-03-11 09:38:28 +08:00
d24a5225de update:在商店混合模式下,同包名的软件合并在同一个详情页面并加入切换开关 2026-03-11 09:18:59 +08:00
257065018b fix:当用户切换商店模式(星火、APM、混合)时,目前应用会通过 window.location.reload() 重新加载整个页面。这会导致性能损耗和重复的网络请求。本计划旨在取消页面重载,并实现模式数据的缓存。 2026-03-11 08:45:28 +08:00
edd9368c56 update:添加apm与普通商店双支持 2026-03-11 08:36:24 +08:00
d206c79c24 fix:通过E2E测试 2026-03-10 00:52:59 +08:00
21ea334e79 feat:修复基础格式问题 2026-03-09 23:56:44 +08:00
749cf3d3bf feat:引入懒加载,防止弱网情况下无法正常加载应用图标或详情页图片 2026-02-27 23:25:38 +08:00
6ea628d869 feat: 修改应用信息界面,对于已安装应用,安装按钮变为打开按钮,并添加卸载按钮 2026-02-27 23:03:10 +08:00
21b069d7ef 添加主页功能,支持加载和展示首页数据,包括链接和推荐应用列表 2026-02-25 20:46:28 +08:00
3165304016 修改应用名称 2026-02-19 19:27:19 +08:00
69d9c23cff 完成aptss对接 2026-02-19 18:35:41 +08:00
d16dec09a6 修改上游链接 2026-02-19 17:56:30 +08:00
Elysia
c27c1f1697 feat: add sidebar toggle functionality
Signed-off-by: Elysia <a.elysia@proton.me>
2026-02-17 23:23:20 +08:00
Elysia
ed92145f91 fix(app): floor download progress percentage 2026-02-14 23:56:49 +08:00
Elysia
a3f18bb593 feat(app): add download count display 2026-02-14 23:22:41 +08:00
Elysia
74c4eb4fbc feat(install): add metalink download support and progress tracking
close #12
2026-02-14 00:16:18 +08:00
Elysia
7aeb3d5dd4 feat(theme): add system theme support
close #13
2026-02-13 14:49:41 +08:00
Elysia
d5266c6af8 feat: 更新搜索逻辑
现在更换app类别时将默认清空搜索。
2026-02-12 20:11:54 +08:00
Elysia
6622e70033 refactor: improve code formatting and consistency across components
- Updated button and span elements in ThemeToggle.vue and TopActions.vue for better readability.
- Enhanced UninstallConfirmModal.vue and UpdateAppsModal.vue with consistent indentation and spacing.
- Refactored downloadStatus.ts and storeConfig.ts for improved code clarity.
- Standardized string quotes and spacing in typedefinition.ts and processInstall.ts.
- Ensured consistent use of arrow functions and improved variable declarations throughout the codebase.
2026-02-12 18:32:41 +08:00
Elysia
e11740ad4c feat: 添加 ESLint 配置并优化代码风格,移除未使用的功能 2026-02-12 18:31:09 +08:00
Delta1035
b43c6117ec fix: 修复应用还没有安装完,按钮就重新变成可安装状态 (#11)
fix:先用比较简单的方案解决安装之后卸载了还是显示已安装的问题

fix: 在安装成功的ipc信息之后再删除安装队列的任务

删除pnpm workspace
2026-02-04 13:06:01 +08:00
Elysia
6154d75fa6 feat: add app launching functionality and update related components 2026-01-31 18:21:16 +08:00
Elysia
39e40ff946 feat: enhance application type definitions and improve app management logic 2026-01-31 17:48:06 +08:00
Elysia
3221cb6d5e refactor: standardize app property names and improve TypeScript definitions
- Updated property names in AppCard.vue, AppDetailModal.vue, AppGrid.vue, and other components to use camelCase for consistency.
- Enhanced TypeScript definitions for props and emits in various components to improve type safety.
- Refactored download status handling in processInstall.ts to align with updated App interface.
- Improved error handling and type definitions in DownloadDetail.vue and related components.
- Added optional properties and refined existing interfaces in typedefinition.ts for better clarity and usability.
2026-01-31 17:16:02 +08:00
Elysia
5b09dfb3d9 feat(preload): expose architecture detection to renderer process
add multiarch support
2026-01-31 10:26:52 +08:00
Elysia
61790a8588 feat: 更新模态框样式,添加最大高度限制 2026-01-31 09:55:25 +08:00
Elysia
588eaf9746 feat: 更新本地应用列表,区分依赖和用户安装的包 2026-01-31 01:07:05 +08:00
Elysia
4ce097bae0 feat: 更新安装按钮状态反馈,添加安装队列提示 2026-01-31 00:59:23 +08:00
Elysia
97997182bc fix: 修复卸载请求中的应用名称查找逻辑
更新下载详情组件样式以支持自定义滚动条
2026-01-31 00:53:40 +08:00
Elysia
b9325db8b0 feat: 添加卸载确认模态框,支持卸载进度显示 2026-01-31 00:01:32 +08:00
Elysia
9d92bac6cc refactor: 更新应用详情模态框样式,添加自定义滚动条
更新README文档,添加安装/卸载时UI提示的待办事项
2026-01-30 23:48:47 +08:00
Elysia
eaa28686a3 perf: 移除模态框背景模糊效果
动态模糊背景太吃资源了,遂移除
2026-01-30 23:04:53 +08:00
Elysia
681780f712 refactor: 修改开发工具打开模式为分离,优化调试体验;更新ThemeToggle组件样式;删除不再使用的IPC和Node示例代码 2026-01-30 21:31:13 +08:00
Elysia
569cc87994 refactor: 优化AppDetailModal组件的布局和样式,增强可用性 2026-01-30 21:22:01 +08:00
Elysia
2625d24668 refactor: enhance UI components with improved styling and transitions
- Updated DownloadQueue.vue to use Tailwind CSS for styling and added transition effects for better user experience.
- Refactored InstalledAppsModal.vue to improve layout and responsiveness, incorporating Tailwind CSS styles.
- Enhanced ScreenPreview.vue with transitions and improved button styles for navigation.
- Revamped ThemeToggle.vue to provide a more modern toggle button design with accessibility features.
- Updated TopActions.vue to use Tailwind CSS for buttons and layout adjustments.
- Refined UpdateAppsModal.vue with a cleaner layout, improved button styles, and better handling of loading states.
2026-01-30 21:02:31 +08:00