From b36262b25b49fe752a6a4c4dad6fe10554b72bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E5=BE=B7=E6=A3=AE?= Date: Tue, 27 Oct 2026 13:41:25 +0800 Subject: [PATCH 1/2] =?UTF-8?q?ci:=20=E6=B5=8B=E8=AF=95=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E4=BB=85=E4=B8=8A=E4=BC=A0=E5=AE=89=E8=A3=85=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-desktop.yml | 11 +++++------ ...45\217\221\345\270\203\346\265\201\347\250\213.md" | 2 ++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml index 7480bd0..fdaf401 100644 --- a/.github/workflows/build-desktop.yml +++ b/.github/workflows/build-desktop.yml @@ -108,13 +108,12 @@ jobs: with: name: desktop-${{ matrix.platform }}-${{ matrix.arch }} path: | - apps/desktop/release/*.exe - apps/desktop/release/*.tar.zst - apps/desktop/release/*.tar.gz - apps/desktop/release/*.json - apps/desktop/release/*.patch + apps/desktop/release/*-Setup.zip + apps/desktop/release/*-Setup.tar.gz apps/desktop/release/*.dmg - apps/desktop/release/*.zip + ${{ github.event_name == 'push' && github.ref_type == 'tag' && 'apps/desktop/release/*.tar.zst' || '' }} + ${{ github.event_name == 'push' && github.ref_type == 'tag' && 'apps/desktop/release/*.json' || '' }} + ${{ github.event_name == 'push' && github.ref_type == 'tag' && 'apps/desktop/release/*.patch' || '' }} if-no-files-found: error compression-level: 0 retention-days: 14 diff --git "a/docs/\345\217\221\345\270\203\346\265\201\347\250\213.md" "b/docs/\345\217\221\345\270\203\346\265\201\347\250\213.md" index 24f46b7..c28f8cf 100644 --- "a/docs/\345\217\221\345\270\203\346\265\201\347\250\213.md" +++ "b/docs/\345\217\221\345\270\203\346\265\201\347\250\213.md" @@ -57,6 +57,8 @@ git push origin cli-v0.1.0 各平台构建另生成 `.tar.zst` 更新归档(macOS 为 `.app.tar.zst`)与对应通道的更新元数据;更新归档用于分发验收。更新归档、元数据和可选的 `.patch` 差分补丁均以框架原始文件名上传 GitHub Release,供应用内更新使用。Electrobun 2.0.4 官方未发布 macOS x64 core,当前不生成 Intel Mac 安装包。Linux 目标机需要 WebKitGTK 4.1、GTK 3、Ayatana AppIndicator 和 librsvg;Windows 使用 WebView2。 +PR 和手动构建的 Actions 产物仅上传安装包,避免把同一应用的安装包与更新归档重复装进下载 ZIP。更新归档仍在 Runner 上生成并参与分发验收;只有发布 tag 触发的构建才额外上传更新归档、元数据和差分补丁,供发布流程汇总。 + `electrobun.config.ts` 和 `hutch.config.ts` 固定框架与 Bun 主进程。开发输出在 `out/desktop/dev--/`,稳定输出在 `out/desktop/stable--/`,附件位于 `release/`。稳定应用外层是自解压安装器,验收程序从更新归档解出真实应用,使用包内 Bun 运行包内 CLI 和 smoke 程序。不得只使用开发机器的 Bun 或从开发目录加载依赖。 SQLite 使用内置 `bun:sqlite`,Kysely 通过共享适配器同步访问;不分发 `better-sqlite3`。QuickJS Wasm 及其运行依赖作为外部文件复制,其他依赖参与打包。SQLite 验收覆盖加载、写入、事务回滚和重开恢复,Wasm 验收实际创建 QuickJS 上下文并执行代码。 From f6bb9540233201f9e9f4a314e520e4c98a327f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E5=BE=B7=E6=A3=AE?= Date: Tue, 27 Oct 2026 13:42:00 +0800 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20=E7=A7=BB=E9=99=A4=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E4=BA=A7=E7=89=A9=E7=B2=BE=E7=AE=80=E7=9A=84=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "docs/\345\217\221\345\270\203\346\265\201\347\250\213.md" | 2 -- 1 file changed, 2 deletions(-) diff --git "a/docs/\345\217\221\345\270\203\346\265\201\347\250\213.md" "b/docs/\345\217\221\345\270\203\346\265\201\347\250\213.md" index c28f8cf..24f46b7 100644 --- "a/docs/\345\217\221\345\270\203\346\265\201\347\250\213.md" +++ "b/docs/\345\217\221\345\270\203\346\265\201\347\250\213.md" @@ -57,8 +57,6 @@ git push origin cli-v0.1.0 各平台构建另生成 `.tar.zst` 更新归档(macOS 为 `.app.tar.zst`)与对应通道的更新元数据;更新归档用于分发验收。更新归档、元数据和可选的 `.patch` 差分补丁均以框架原始文件名上传 GitHub Release,供应用内更新使用。Electrobun 2.0.4 官方未发布 macOS x64 core,当前不生成 Intel Mac 安装包。Linux 目标机需要 WebKitGTK 4.1、GTK 3、Ayatana AppIndicator 和 librsvg;Windows 使用 WebView2。 -PR 和手动构建的 Actions 产物仅上传安装包,避免把同一应用的安装包与更新归档重复装进下载 ZIP。更新归档仍在 Runner 上生成并参与分发验收;只有发布 tag 触发的构建才额外上传更新归档、元数据和差分补丁,供发布流程汇总。 - `electrobun.config.ts` 和 `hutch.config.ts` 固定框架与 Bun 主进程。开发输出在 `out/desktop/dev--/`,稳定输出在 `out/desktop/stable--/`,附件位于 `release/`。稳定应用外层是自解压安装器,验收程序从更新归档解出真实应用,使用包内 Bun 运行包内 CLI 和 smoke 程序。不得只使用开发机器的 Bun 或从开发目录加载依赖。 SQLite 使用内置 `bun:sqlite`,Kysely 通过共享适配器同步访问;不分发 `better-sqlite3`。QuickJS Wasm 及其运行依赖作为外部文件复制,其他依赖参与打包。SQLite 验收覆盖加载、写入、事务回滚和重开恢复,Wasm 验收实际创建 QuickJS 上下文并执行代码。