Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Wang <[email protected]>
  • Loading branch information
ruibaby committed Sep 8, 2023
1 parent 693afec commit 527e902
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 2 deletions.
37 changes: 36 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
# plugin-app-store
# 应用市场

Console 集成 Halo 官方应用市场,支持下载、检测更新、升级主题和插件。

## 特性

- 为主题和插件的安装界面添加应用市场的入口,可以直接进行安装。
- 支持在插件和主题的管理列表检测新版本并升级。
- 提供统一的应用市场页面。

## 使用方式

1. 下载,目前提供以下两个下载方式:
- GitHub Releases:访问 [Releases](https://github.com/halo-dev/plugin-app-store/releases) 下载 Assets 中的 JAR 文件。
- Halo 应用市场:<https://halo.run/store/apps/app-VYJbF>
2. 插件安装和更新方式可参考:<https://docs.halo.run/user-guide/plugins>
3. 此插件的后续更新也可以直接在应用市场中进行更新。

## 后续计划

- [ ] 支持绑定 Halo 官网的账号,方便下载和更新已付费的应用。
- [ ] 支持在应用市场页面查看已安装的应用。

## 注意事项

目前首次安装此插件后,并不会检测目前已有的插件和主题的更新,这是因为只有从应用市场下载的插件和主题才会设置安装来源。所以,如果需要检测已有插件和主题的更新,需要在应用市场重新安装一次插件和主题。

此机制是为了保证网站已有的插件和主题存在于应用市场,防止出现已安装的主题和插件与应用市场的主题和插件不一致的情况。

## 预览

![App Store](./images/app-store.png)
![Plugins](./images/plugins.png)
![Install plugins](./images/install-plugins.png)
![Themes](./images/themes.png)
![Install themes](./images/install-themes.png)
Binary file added images/app-store.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/install-plugins.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/install-themes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/plugins.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/themes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
logo: logo.svg
homepage: https://github.com/halo-dev/plugin-app-store
displayName: "应用市场"
description: "集成 Halo 官方应用市场"
description: "Console 集成 Halo 官方应用市场"
license:
- name: "GPL-3.0"
url: "https://github.com/halo-dev/plugin-app-store/blob/main/LICENSE"

0 comments on commit 527e902

Please sign in to comment.