[patch] 测试是否安装成功

This commit is contained in:
Gitea Actions Bot
2025-10-11 16:24:30 +08:00
parent afcd360603
commit ee7c76ef68
3 changed files with 22 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ VERSION = "1.0"
WINDOW_TITLE = "AI回复连接入口-V1.0"
# 应用版本号(用于版本检查)
APP_VERSION = "1.5.5"
APP_VERSION = "1.5.6"
# 平台特定配置
PLATFORMS = {

View File

@@ -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}}"

View File

@@ -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",