diff --git a/config.py b/config.py index 4527ac3..3c4cb54 100644 --- a/config.py +++ b/config.py @@ -42,7 +42,7 @@ VERSION = "1.0" WINDOW_TITLE = "AI回复连接入口-V1.0" # 应用版本号(用于版本检查) -APP_VERSION = "1.5.5" +APP_VERSION = "1.5.6" # 平台特定配置 PLATFORMS = { diff --git a/installer/build_installer.py b/installer/build_installer.py index fb53e24..d95d29a 100644 --- a/installer/build_installer.py +++ b/installer/build_installer.py @@ -21,14 +21,14 @@ class NSISInstaller: self.assets_dir = self.script_dir / "assets" self.nsis_script = self.script_dir / "installer.nsi" - # 应用程序信息 - self.app_name = "水滴AI客服智能助手" + # 应用程序信息(使用英文避免CI/CD环境乱码) + self.app_name = "ShuiDi AI Assistant" self.app_name_en = "ShuiDi AI Assistant" # 从 config.py 读取版本号(自动同步) self.app_version = self._get_version_from_config() - self.app_publisher = "水滴智能科技" + self.app_publisher = "Shuidrop Technology" self.app_url = "https://shuidrop.com/" self.exe_name = "main.exe" @@ -152,7 +152,7 @@ class NSISInstaller: print(f"Installer name: {installer_name}") - nsis_content = f'''# 水滴AI客服智能助手 NSIS 安装脚本 + nsis_content = f'''# ShuiDi AI Assistant NSIS Installer Script # 自动生成于 {datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")} Unicode True @@ -195,7 +195,7 @@ InstallDirRegKey HKLM "Software\\${{APP_PUBLISHER}}\\${{APP_NAME_EN}}" "InstallP # 版本信息 VIProductVersion "{self.app_version}.0" VIAddVersionKey /LANG=2052 "ProductName" "${{APP_NAME}}" -VIAddVersionKey /LANG=2052 "Comments" "水滴AI客服智能助手" +VIAddVersionKey /LANG=2052 "Comments" "ShuiDi AI Assistant" VIAddVersionKey /LANG=2052 "CompanyName" "${{APP_PUBLISHER}}" VIAddVersionKey /LANG=2052 "FileDescription" "${{APP_NAME}} 安装程序" VIAddVersionKey /LANG=2052 "FileVersion" "${{APP_VERSION}}" diff --git a/version_history.json b/version_history.json index 52e5f50..73e5afa 100644 --- a/version_history.json +++ b/version_history.json @@ -1,4 +1,20 @@ [ + { + "version": "1.5.6", + "update_type": "patch", + "content": "[patch] 修改nsis安装流程", + "author": "Gitea Actions Bot", + "commit_hash": "afcd360603aa89b41f32ac59c4527103b1aa33f9", + "commit_short_hash": "afcd3606", + "branch": "develop", + "release_time": "2025-10-11 16:20:24", + "download_url": "https://ks3-cn-guangzhou.ksyuncs.com/shuidrop-chat-server/installers/ShuiDi_AI_Assistant_Setup_v1.5.6.exe", + "stats": { + "files_changed": 3, + "lines_added": 121, + "lines_deleted": 96 + } + }, { "version": "1.5.5", "update_type": "patch",