Skip to content

Commit

Permalink
feat(): 完善插件配置(plugin.yaml)相关属性
Browse files Browse the repository at this point in the history
  • Loading branch information
wxyShine committed Apr 29, 2024
1 parent 2f7d348 commit f7b3714
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Binary file removed src/main/resources/logo.webp
Binary file not shown.
5 changes: 4 additions & 1 deletion src/main/resources/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ spec:
author:
name: wxy97.com
website: https://www.wxy97.com/
logo: logo.webp
logo: https://cdn.wxy97.com/blog/2023-12-27-nzizpjaz.webp
homepage: https://www.wxy97.com/
repo: https://github.com/wxyShine/plugin-webhook
issues: https://github.com/wxyShine/plugin-webhook/issues
displayName: "Webhook"
description: "为halo提供Webhook支持!"
settingName: webhook-settings
configMapName: webhook-configmap
license:
- name: "GPL-3.0"
url: "https://github.com/wxyShine/plugin-webhook/blob/main/LICENSE"
5 changes: 3 additions & 2 deletions ui/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { definePlugin } from "@halo-dev/console-shared";
import HomeView from "./views/HomeView.vue";
import { IconPlug } from "@halo-dev/components";
import { markRaw } from "vue";
// https://icon-sets.iconify.design/logos/webhooks/
import LogosWebhooks from '~icons/logos/webhooks';

export default definePlugin({
components: {},
Expand All @@ -17,7 +18,7 @@ export default definePlugin({
menu: {
name: "Webhook",
group: "tool",
icon: markRaw(IconPlug),
icon: markRaw(LogosWebhooks),
priority: 0,
},
},
Expand Down

0 comments on commit f7b3714

Please sign in to comment.