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}`