Skip to content

Commit 429780b

Browse files
author
baiqing
committed
chore(release): 1.2.18 — Windows bundle 顺序锁 nsis,msi 让 updater 资产先落盘
历史链: 1.2.13 ✓ 无 IME wxs,MSI+NSIS 全过 1.2.15 ✗ 加 IME wxs;CI pwsh 把 JSON 引号吃掉,tauri 连 candle 都没跑 1.2.16 ✗ shell 切 bash 后到 light 阶段,但 ICE80 触发,Repair 没 -sice 1.2.17 ✗ Repair 加了 -sice:ICE80 修了 MSI;但 Tauri 字母序 msi→nsis 让 MSI 先挂掉,NSIS 永远没机会跑,updater .exe(.sig) 缺失 1.2.18 显式 --bundles nsis,msi:NSIS 先写盘产 updater 资产,MSI 再失败 由 Repair 兜底 light.exe 重链 唯一改动:Build (Windows) 步骤两个分支都加 --bundles nsis,msi。 预留:NSIS 不读 wix.fragmentPaths,所以 .exe 暂不带 IME DLL;MSI 仍带, 后续单独 issue 跟进 NSIS IME 集成,不挂当前发版。
1 parent a5f1a8f commit 429780b

6 files changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/release-tauri.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,13 +226,16 @@ jobs:
226226
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
227227
run: |
228228
set +e
229+
# 顺序很关键:NSIS 必须先跑、产出 *_x64-setup.exe(.sig) 给 updater 用。
230+
# Tauri 的 "all" 默认按字母序 msi→nsis,MSI 一旦 ICE80 挂掉就 short-circuit
231+
# 整个 bundle 流程,NSIS 完全没机会执行。显式 --bundles nsis,msi 强制顺序。
229232
if [ -n "${TAURI_SIGNING_PRIVATE_KEY:-}" ]; then
230-
npm run tauri -- build --config '{"bundle":{"createUpdaterArtifacts":true}}'
233+
npm run tauri -- build --bundles nsis,msi --config '{"bundle":{"createUpdaterArtifacts":true}}'
231234
else
232-
npm run tauri build
235+
npm run tauri -- build --bundles nsis,msi
233236
fi
234237
echo "TAURI_BUILD_EXIT=$?" >> "$GITHUB_ENV"
235-
# 不直接退出失败:下一步 Repair 还有兜底机会。
238+
# 不直接退出失败:下一步 Repair 还有兜底机会(NSIS 已先于 MSI 写盘)
236239
exit 0
237240
238241
# ── 如果 tauri 在 wix link 阶段失败(candle 出了 wixobj,但 light 因 cwd

openless-all/app/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openless-all/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "openless-app",
33
"private": true,
4-
"version": "1.2.17",
4+
"version": "1.2.18",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

openless-all/app/src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openless-all/app/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "openless"
3-
version = "1.2.17"
3+
version = "1.2.18"
44
description = "OpenLess — local voice input that types where your cursor is"
55
authors = ["OpenLess"]
66
edition = "2021"

openless-all/app/src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "OpenLess",
4-
"version": "1.2.17",
4+
"version": "1.2.18",
55
"identifier": "com.openless.app",
66
"build": {
77
"beforeDevCommand": "npm run dev",

0 commit comments

Comments
 (0)