From 1834740676065603e19d4d3392acdac8a6283cf7 Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Thu, 4 Jun 2026 09:34:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20Inno=20Setup=20=E5=8E=BB=E6=8E=89?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E8=AF=AD=E8=A8=80=E6=AE=B5=EF=BC=8C=E7=94=A8?= =?UTF-8?q?=E5=86=85=E7=BD=AE=E8=8B=B1=E6=96=87=E5=90=91=E5=AF=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ChineseSimplified.isl 默认不随 Inno Setup 安装,引用它导致编译报 找不到文件。去掉 [Languages] 段用内置默认(英文)向导;app 名称与 快捷方式仍为中文。 Co-Authored-By: Claude Opus 4.8 --- CHANGELOG.md | 5 ++--- deploy/windows/jiu-installer.iss | 5 +++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f7eef5..2fd4160 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,14 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [1.0.12] - 2026-06-04 +## [1.0.13] - 2026-06-04 ### 新功能 -- Windows 客户端改为提供安装程序(Inno Setup 打包的 `jiu-windows-x64-setup.exe`,含中文向导、桌面/开始菜单快捷方式、卸载项),不再是解压版 zip +- Windows 客户端改为提供安装程序(Inno Setup 打包的 `jiu-windows-x64-setup.exe`,含安装向导、桌面/开始菜单快捷方式、卸载项),不再是解压版 zip ### 修复 - 修复客户端「无法安全下载」:下载地址从内网 HTTP Forgejo(`http://192.168.3.200:3000`,公网不可达且被浏览器拦截)改为同源 HTTPS `https://jiu.51yanmei.com/downloads/...`,Windows、macOS 均生效 -- 修复 ISCC 编译报「more than one script filename」:调用 Inno Setup 时关闭 Git Bash 的 MSYS 参数路径转换,避免 `/D` 定义参数被改写 - 部署时将最新安装包发布到 web 服务(`/opt/jiu/downloads/`,nginx `/downloads/` 提供),仅保留最新版本(清旧放新) ## [1.0.9] - 2026-06-04 diff --git a/deploy/windows/jiu-installer.iss b/deploy/windows/jiu-installer.iss index 019f1bd..eb27a87 100644 --- a/deploy/windows/jiu-installer.iss +++ b/deploy/windows/jiu-installer.iss @@ -35,8 +35,9 @@ ArchitecturesInstallIn64BitMode=x64 UninstallDisplayName={#MyAppName} UninstallDisplayIcon={app}\{#MyAppExe} -[Languages] -Name: "chinesesimp"; MessagesFile: "compiler:Languages\ChineseSimplified.isl" +; 说明:未声明 [Languages],使用 Inno Setup 内置英文向导(简体中文语言文件 +; ChineseSimplified.isl 默认不随 Inno Setup 安装,依赖它会导致编译找不到文件)。 +; app 名称与快捷方式仍为中文(下方 UTF-8 字符串,与向导语言无关)。 [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: checkedonce