feat: 修改打包流程

This commit is contained in:
digua committed 2025-12-07 23:53:48 +08:00
1 parent be80878985
commit 3ef1422337
5 files changed
+20 -13

No files matched your search

+9 -1
View File
@@ -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 }}
+5
View File
@@ -2,6 +2,11 @@
appId: com.chatlab.app
# 应用程序的产品名称
productName: ChatLab
# 发布配置
publish:
provider: github
owner: hellodigua
repo: ChatLab
# 构建资源所在的目录
directories:
buildResources: build
+4
View File
@@ -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": {
@@ -152,16 +152,6 @@ ${formData.value.responseRules}`
<UButton icon="i-heroicons-x-mark" variant="ghost" size="sm" @click="closeModal" />
</div>
<!-- 内置预设提示 -->
<UAlert v-if="isBuiltIn" color="info" variant="outline" icon="i-heroicons-information-circle" class="mb-4">
<template #title>
<span class="text-sm">
这是内置预设,修改后可点击"重置"恢复默认值。
<span v-if="isModified" class="text-amber-600 dark:text-amber-400">(已修改)</span>
</span>
</template>
</UAlert>
<!-- 表单 -->
<div class="max-h-[500px] space-y-4 overflow-y-auto pr-1">
<!-- 预设名称 -->
+2 -2
View File
@@ -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' },