Files
xianyan/installer.iss
Developer 49b6323772 release: 发布6.6.18版本,完成多项合规与功能优化
此版本包含以下核心更新:
1. 版本号升级至6.6.18,更新全平台配置文件
2. 实现隐私合规改造:
   - 新增剪贴板隐私守卫,未同意协议前禁止读取剪贴板
   - 所有桌面小部件继承隐私感知基类,未同意协议时显示占位提示
   - 移除自动剪贴板监控,改为用户主动触发
3. 新增Windows平台深色主题同步功能
4. 补全多语言默认句子翻译
5. 优化安卓快捷方式配置与小部件合规性
6. 修复macOS插件注册问题
7. 新增Windows安装脚本
8. 优化触觉反馈服务初始化时机
2026-06-17 04:47:06 +08:00

78 lines
2.4 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.
; ============================================================================
; 闲言APP - Inno Setup 安装脚本
; ============================================================================
; 使用方法:
; 方式一(推荐,自动读取版本号):
; .\scripts\package_windows.ps1
; 方式二(手动指定版本号):
; & "d:\Program Files (x86)\Inno Setup 6\ISCC.exe" /DAppVer=6.78.0 installer.iss
; 方式三flutter_distributor:
; $env:PATH = "E:\cache\pub\bin;" + $env:PATH
; flutter_distributor package --platform windows --target inno
;
; 前置条件:
; 1. 已安装 Inno Setup 6: https://jrsoftware.org/isdl.php
; 2. 已下载中文语言包到 Inno Setup Languages 目录
; 3. 已构建 Flutter 应用: flutter build windows
; ============================================================================
; ---- 动态版本号(通过 ISCC 命令行 /DAppVer=x.x.x 传入) ----
; 由 package_windows.ps1 自动传递,无需手动设置
#ifndef AppVer
#define AppVer "0.0.0"
#endif
[Setup]
; ---- 应用信息 ----
AppName=闲言
AppVersion={#AppVer}
AppPublisher=微风暴工作室
AppPublisherURL=https://www.wktyl.com
AppSupportURL=https://www.wktyl.com
; ---- 安装路径 ----
DefaultDirName={autopf}\xianyan
DefaultGroupName=闲言
UninstallDisplayName=闲言
; ---- 输出配置 ----
OutputDir=dist
OutputBaseFilename=闲言_Setup_{#AppVer}
; ---- 压缩配置 ----
Compression=lzma2/max
SolidCompression=yes
; ---- 图标和权限 ----
SetupIconFile=windows\runner\resources\app_icon.ico
PrivilegesRequired=lowest
ArchitecturesAllowed=x64compatible
ArchitecturesInstallIn64BitMode=x64compatible
[Languages]
Name: "chinesesimplified"; MessagesFile: "compiler:Languages\ChineseSimplified.isl"
[Tasks]
Name: "desktopicon"; Description: "创建桌面快捷方式"; GroupDescription: "附加图标:"; Flags: unchecked
[Files]
Source: "build\windows\x64\runner\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
[Icons]
Name: "{group}\闲言"; Filename: "{app}\xianyan.exe"
Name: "{autodesktop}\闲言"; Filename: "{app}\xianyan.exe"; Tasks: desktopicon
[Run]
Filename: "{app}\xianyan.exe"; Description: "启动闲言"; Flags: nowait postinstall skipifsilent
[Code]
procedure CurStepChanged(CurStep: TSetupStep);
var
ResultCode: Integer;
begin
if CurStep = ssPostInstall then
begin
Exec('ie4uinit.exe', '-show', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
end;
end;