mirror of
https://github.com/YaoFANGUK/video-subtitle-remover.git
synced 2026-04-27 11:07:31 +08:00
成功编译Windows安装程序
- 更新Inno Setup脚本支持版本号管理 - 移除自定义语言文件,使用默认语言 - 成功编译VideoSubtitleRemover-Setup-v1.4.0.exe - 安装程序大小: 732 MB(LZMA压缩) - 支持桌面快捷方式创建 - 支持开始菜单添加 - 支持完整卸载功能 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,9 +2,12 @@
|
||||
; 编译方法:下载 Inno Setup Compiler (https://jrsoftware.org/isdl.php)
|
||||
; 或者使用命令:iscc VideoSubtitleRemover.iss
|
||||
|
||||
; 定义版本号
|
||||
#define MyAppVersion "1.4.0"
|
||||
|
||||
[Setup]
|
||||
AppName=视频字幕去除器
|
||||
AppVersion={#GetVersionNumber}
|
||||
AppVersion={#MyAppVersion}
|
||||
AppPublisher=YaoFANGUK
|
||||
AppPublisherURL=https://github.com/YaoFANGUK/video-subtitle-remover
|
||||
AppSupportURL=https://github.com/YaoFANGUK/video-subtitle-remover/issues
|
||||
@@ -12,7 +15,7 @@ AppComments=基于AI的图片/视频硬字幕去除工具
|
||||
DefaultDirName={autopf}\Program Files\视频字幕去除器
|
||||
DefaultGroupName=视频字幕去除器
|
||||
AllowNoIcons=yes
|
||||
OutputBaseFilename=VideoSubtitleRemover-Setup
|
||||
OutputBaseFilename=VideoSubtitleRemover-Setup-v{#MyAppVersion}
|
||||
Compression=lzma
|
||||
SolidCompression=yes
|
||||
; 内部文件需要更多内存,禁用
|
||||
@@ -28,10 +31,6 @@ VersionInfoDescription=视频字幕去除器
|
||||
VersionInfoCopyright=© 2026 YaoFANGUK
|
||||
VersionInfoProductName=视频字幕去除器
|
||||
|
||||
[Languages]
|
||||
Name: "chinese"; MessagesFile: "compiler:Languages\ChineseSimplified.isl"
|
||||
Name: "english"; MessagesFile: "compiler:Languages\English.isl"
|
||||
|
||||
[Files]
|
||||
Source: "dist\VideoSubtitleRemover\_internal\*"; DestDir: "{app}\_internal"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "dist\VideoSubtitleRemover\VideoSubtitleRemover.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||
|
||||
Reference in New Issue
Block a user