Files
37duAutomation/desktop/webhost/tools/install.iss
T
puddy 78aa8c361c release: bump version to 1.1.7, update xq0031_xq0032 plugin to 1.0.8
主要变更:
1. 整体版本升级至1.1.7,更新安装包与shell版本号
2. 新增API与后端能力:
   - 新增停止运行接口,支持强制终止插件进程与浏览器子进程
   - 云端会话令牌与下载票据落库,适配多worker部署
   - 优化Chrome版本读取逻辑,避免弹窗与编码问题
3. xq0031_xq0032插件升级至1.0.8:
   - 新增仓库中文名自动筛选功能,简化用户操作
   - 优化ERP登录与报表导出流程,修复标签页残留问题
   - 新增前端强制停止按钮,支持实时终止运行
   - 修复中文编码与乱码问题,兼容Windows非UTF-8环境
4. 修复授权校验逻辑,确保账号与授权匹配
5. 更新文档与部署脚本,修正发版流程说明
2026-09-17 23:25:33 +08:00

53 lines
2.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
; 37du 自动化工作台 - Inno Setup 安装脚本 (Inno Setup 7)
; 编译: "C:\Program Files\Inno Setup 7\ISCC.exe" webhost\tools\install.iss
; 打包内容: 主程序 37du-host.exe + 插件执行壳 37du-host-runner.exe + .env 默认配置
; .env 与 webhost/.env 同源(控制面/平台共享配置):仅首次安装写入(onlyifdoesntexist),
; 升级不覆盖机器已有 .env;不含 37du-host-console.exe(调试版)、plugins/(登录后自下载)
#define MyAppName "37du 自动化工作台"
#define MyAppVersion "1.1.7"
#define MyAppExeName "37du-host.exe"
[Setup]
AppId={{8F3D5C7A-2B41-4E9A-9D6C-37DUE5A1B0F0}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppPublisher=37du
DefaultDirName={localappdata}\Programs\37duHost
PrivilegesRequired=lowest
OutputDir=..\installer
OutputBaseFilename=setup-37du-host-{#MyAppVersion}
Compression=lzma2
SolidCompression=yes
WizardStyle=modern
CloseApplications=yes
RestartApplications=no
UninstallDisplayIcon={app}\{#MyAppExeName}
UninstallDisplayName={#MyAppName}
[Tasks]
Name: "desktopicon"; Description: "创建桌面快捷方式"; GroupDescription: "附加任务:"; Flags: unchecked
[Files]
; 主程序 onedir 目录(exe + _internal 依赖)
Source: "..\dist-exe\37du-host\*"; DestDir: "{app}"; Flags: recursesubdirs ignoreversion
; 插件执行壳(onefile 单文件,需与主程序 exe 同级)
Source: "..\dist-exe\37du-host-runner.exe"; DestDir: "{app}"; Flags: ignoreversion
; 壳子版本标记:执行端据此比对控制面版本判断是否需要自动升级
Source: "..\tools\shell.version"; DestDir: "{app}"; Flags: ignoreversion
; .env 默认配置:仅首次安装写入,升级/重装不覆盖机器已有配置
Source: "..\.env"; DestDir: "{app}"; Flags: onlyifdoesntexist uninsneveruninstall
; 插件不由安装包分发:执行机首次启动/登录后按账号权限从控制面自下载(见 backend/core/plugin_sync.py)
[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; AppUserModelID: "37du.Host"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; AppUserModelID: "37du.Host"; Tasks: desktopicon
[Run]
; 交互安装:向导结束自动启动;静默升级(/VERYSILENT)后也自动启动新版本,实现"重启自动更新"
Filename: "{app}\{#MyAppExeName}"; Description: "立即启动 {#MyAppName}"; Flags: nowait postinstall
[UninstallDelete]
; 卸载时清理整个安装目录(含运行期生成的 .webhost.pid / _cp_sessions.json 等)
Type: filesandordirs; Name: "{app}"