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 集成,不挂当前发版。
This commit is contained in:
baiqing committed 2026-05-04 22:56:33 +08:00
1 parent a5f1a8f16d
commit 429780b5e4
6 files changed
+12 -9

No files matched your search

+6 -3
View File
@@ -226,13 +226,16 @@ jobs:
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
run: |
set +e
# 顺序很关键:NSIS 必须先跑、产出 *_x64-setup.exe(.sig) 给 updater 用。
# Tauri 的 "all" 默认按字母序 msi→nsis,MSI 一旦 ICE80 挂掉就 short-circuit
# 整个 bundle 流程,NSIS 完全没机会执行。显式 --bundles nsis,msi 强制顺序。
if [ -n "${TAURI_SIGNING_PRIVATE_KEY:-}" ]; then
npm run tauri -- build --config '{"bundle":{"createUpdaterArtifacts":true}}'
npm run tauri -- build --bundles nsis,msi --config '{"bundle":{"createUpdaterArtifacts":true}}'
else
npm run tauri build
npm run tauri -- build --bundles nsis,msi
fi
echo "TAURI_BUILD_EXIT=$?" >> "$GITHUB_ENV"
# 不直接退出失败:下一步 Repair 还有兜底机会。
# 不直接退出失败:下一步 Repair 还有兜底机会(NSIS 已先于 MSI 写盘)。
exit 0
# ── 如果 tauri 在 wix link 阶段失败(candle 出了 wixobj,但 light 因 cwd
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "openless-app",
"version": "1.2.17",
"version": "1.2.18",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "openless-app",
"version": "1.2.17",
"version": "1.2.18",
"dependencies": {
"@tauri-apps/api": "^2.1.1",
"@tauri-apps/plugin-autostart": "^2.5.1",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "openless-app",
"private": true,
"version": "1.2.17",
"version": "1.2.18",
"type": "module",
"scripts": {
"dev": "vite",
+1 -1
View File
@@ -3281,7 +3281,7 @@ dependencies = [
[[package]]
name = "openless"
version = "1.2.17"
version = "1.2.18"
dependencies = [
"anyhow",
"arboard",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "openless"
version = "1.2.17"
version = "1.2.18"
description = "OpenLess — local voice input that types where your cursor is"
authors = ["OpenLess"]
edition = "2021"
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "OpenLess",
"version": "1.2.17",
"version": "1.2.18",
"identifier": "com.openless.app",
"build": {
"beforeDevCommand": "npm run dev",