chore(release): 1.2.17 — Windows MSI 修 light.exe ICE80 报错

x86/x64 IME DLL 都装进 INSTALLDIR\windows-ime\,32-bit 组件落在 64-bit
Directory 是 ICE80 的硬性报错。本场景路径绝对指向、不依赖 SysWOW64
重定向,按 Microsoft 文档是合法用法,给手动 light.exe 重链加 -sice:ICE80
即可放行。改动同步覆盖 CI workflow 和本地打包脚本。
This commit is contained in:
baiqing committed 2026-05-04 22:21:50 +08:00
1 parent 49210363d6
commit a5f1a8f16d
7 files changed
+16 -8

No files matched your search

+5 -1
View File
@@ -271,7 +271,11 @@ jobs:
$msiPath = Join-Path $bundleDir "OpenLess_${version}_x64_en-US.msi"
Push-Location $appRoot
try {
& $light -nologo -ext WixUIExtension -ext WixUtilExtension -loc $locale -out $msiPath $mainObj $imeObj
# -sice:ICE80:x86 IME DLL 与 x64 一同打进 INSTALLDIR\windows-ime\,
# 这是 32 位组件落在 64 位 Directory 下的合法场景(DLL 路径绝对指向,
# 不依赖 SysWOW64 重定向)。Tauri 自身没有暴露 light 透传参数,所以
# 必须在这里抑制,否则 LGHT0204 必失败。
& $light -nologo -sice:ICE80 -ext WixUIExtension -ext WixUtilExtension -loc $locale -out $msiPath $mainObj $imeObj
if ($LASTEXITCODE -ne 0) { throw "light.exe relink failed with exit $LASTEXITCODE" }
} finally {
Pop-Location
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "openless-app",
"version": "1.2.16",
"version": "1.2.17",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "openless-app",
"version": "1.2.16",
"version": "1.2.17",
"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.16",
"version": "1.2.17",
"type": "module",
"scripts": {
"dev": "vite",
@@ -175,7 +175,11 @@ function Repair-TauriMsiBundle {
Remove-Item -LiteralPath $msiPath -Force -ErrorAction SilentlyContinue
$light = Find-WixTool "light.exe"
& $light -nologo -ext WixUIExtension -ext WixUtilExtension -loc $locale -out $msiPath $mainObject $imeObject
# -sice:ICE80:x86 IME DLL 与 x64 一起装进 INSTALLDIR\windows-ime\,
# 32-bit Component 落在 64-bit Directory 下是 ICE80 的告警,但本场景路径
# 绝对指向、不依赖 SysWOW64 重定向,是 Microsoft 文档允许的合法用法。
# 与 .github/workflows/release-tauri.yml 的 light 调用保持一致。
& $light -nologo -sice:ICE80 -ext WixUIExtension -ext WixUtilExtension -loc $locale -out $msiPath $mainObject $imeObject
if ($LASTEXITCODE -ne 0) {
throw "WiX light.exe failed with exit code $LASTEXITCODE."
}
+1 -1
View File
@@ -3281,7 +3281,7 @@ dependencies = [
[[package]]
name = "openless"
version = "1.2.16"
version = "1.2.17"
dependencies = [
"anyhow",
"arboard",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "openless"
version = "1.2.16"
version = "1.2.17"
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.16",
"version": "1.2.17",
"identifier": "com.openless.app",
"build": {
"beforeDevCommand": "npm run dev",