diff --git a/client/web/plugins/com.msgbyte.posthog/assets/icon.png b/client/web/plugins/com.msgbyte.posthog/assets/icon.png new file mode 100644 index 00000000..c61e43a6 Binary files /dev/null and b/client/web/plugins/com.msgbyte.posthog/assets/icon.png differ diff --git a/client/web/plugins/com.msgbyte.posthog/manifest.json b/client/web/plugins/com.msgbyte.posthog/manifest.json index 0ed83a41..0f5cb54a 100644 --- a/client/web/plugins/com.msgbyte.posthog/manifest.json +++ b/client/web/plugins/com.msgbyte.posthog/manifest.json @@ -2,6 +2,7 @@ "label": "Posthog", "name": "com.msgbyte.posthog", "url": "/plugins/com.msgbyte.posthog/index.js", + "icon": "/plugins/com.msgbyte.posthog/assets/icon.png", "version": "0.0.0", "author": "moonrailgun", "description": "Posthog 数据统计", diff --git a/client/web/plugins/com.msgbyte.sentry/assets/icon.png b/client/web/plugins/com.msgbyte.sentry/assets/icon.png new file mode 100644 index 00000000..78421054 Binary files /dev/null and b/client/web/plugins/com.msgbyte.sentry/assets/icon.png differ diff --git a/client/web/plugins/com.msgbyte.sentry/manifest.json b/client/web/plugins/com.msgbyte.sentry/manifest.json index 5843fc43..995d4fd3 100644 --- a/client/web/plugins/com.msgbyte.sentry/manifest.json +++ b/client/web/plugins/com.msgbyte.sentry/manifest.json @@ -2,6 +2,7 @@ "label": "Sentry", "name": "com.msgbyte.sentry", "url": "/plugins/com.msgbyte.sentry/index.js", + "icon": "/plugins/com.msgbyte.sentry/assets/icon.png", "version": "0.0.0", "author": "moonrailgun", "description": "Sentry 错误处理", diff --git a/client/web/src/plugin/builtin.ts b/client/web/src/plugin/builtin.ts index 4bf71e91..152de159 100644 --- a/client/web/src/plugin/builtin.ts +++ b/client/web/src/plugin/builtin.ts @@ -2,8 +2,8 @@ import type { PluginManifest } from 'tailchat-shared'; import _compact from 'lodash/compact'; const isOffical = [ - 'nightly.paw.msgbyte.com', - // 'localhost:11011', + 'nightly.paw.msgbyte.com', // + //'localhost:11011' ].includes(location.host); /** @@ -53,6 +53,7 @@ export const builtinPlugins: PluginManifest[] = _compact([ label: 'Posthog', name: 'com.msgbyte.posthog', url: '/plugins/com.msgbyte.posthog/index.js', + icon: '/plugins/com.msgbyte.posthog/assets/icon.png', version: '0.0.0', author: 'moonrailgun', description: 'Posthog 数据统计', @@ -62,6 +63,7 @@ export const builtinPlugins: PluginManifest[] = _compact([ label: 'Sentry', name: 'com.msgbyte.sentry', url: '/plugins/com.msgbyte.sentry/index.js', + icon: '/plugins/com.msgbyte.sentry/assets/icon.png', version: '0.0.0', author: 'moonrailgun', description: 'Sentry 错误处理',