diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2e9f98c..eb6f69d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,6 +58,9 @@ jobs: path: | dist/*.dmg dist/*.zip + dist/*.yml + dist/*.json + dist/*.blockmap if-no-files-found: warn build-win: @@ -103,6 +106,9 @@ jobs: name: ChatLab-win path: | dist/*.exe + dist/*.yml + dist/*.json + dist/*.blockmap if-no-files-found: warn release: @@ -132,6 +138,8 @@ jobs: tag_name: ${{ github.event_name == 'workflow_dispatch' && format('v{0}', inputs.version) || github.ref_name }} name: ChatLab ${{ github.event_name == 'workflow_dispatch' && inputs.version || github.ref_name }} draft: true + repository: hellodigua/ChatLab + token: ${{ secrets.GH_TOKEN }} files: dist/* env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/electron-builder.yml b/electron-builder.yml index d9332ec..b5fa10d 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -2,6 +2,11 @@ appId: com.chatlab.app # 应用程序的产品名称 productName: ChatLab +# 发布配置 +publish: + provider: github + owner: hellodigua + repo: ChatLab # 构建资源所在的目录 directories: buildResources: build diff --git a/package.json b/package.json index 8aee751..2867057 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,10 @@ "name": "ChatLab", "version": "0.1.0", "description": "获取你的聊天记录年度分析报告", + "repository": { + "type": "git", + "url": "git+https://github.com/hellodigua/ChatLab.git" + }, "author": "", "main": "./out/main/index.js", "pnpm": { diff --git a/src/components/common/settings/AIPromptEditModal.vue b/src/components/common/settings/AIPromptEditModal.vue index ef0248e..3ffc09b 100644 --- a/src/components/common/settings/AIPromptEditModal.vue +++ b/src/components/common/settings/AIPromptEditModal.vue @@ -152,16 +152,6 @@ ${formData.value.responseRules}` - - - - -
diff --git a/src/pages/group-chat.vue b/src/pages/group-chat.vue index b0c8e78..e0dcaa6 100644 --- a/src/pages/group-chat.vue +++ b/src/pages/group-chat.vue @@ -37,8 +37,8 @@ const isInitialLoad = ref(true) // 用于跳过初始加载时的 watch 触发 const tabs = [ { id: 'overview', label: '总览', icon: 'i-heroicons-chart-pie' }, // { id: 'ranking', label: '群榜单', icon: 'i-heroicons-trophy' }, - // { id: 'quotes', label: '群语录', icon: 'i-heroicons-chat-bubble-bottom-center-text' }, - // { id: 'relationships', label: '群关系', icon: 'i-heroicons-heart' }, + { id: 'quotes', label: '群语录', icon: 'i-heroicons-chat-bubble-bottom-center-text' }, + { id: 'relationships', label: '群关系', icon: 'i-heroicons-heart' }, // { id: 'timeline', label: '群趋势', icon: 'i-heroicons-chart-bar' }, { id: 'members', label: '群成员', icon: 'i-heroicons-user-group' }, { id: 'ai', label: 'AI实验室', icon: 'i-heroicons-sparkles' },