build: 增加 exe 打包脚本与版本信息,修复子目录卷信息查询
- tools/build_exe.ps1:一条命令出 dist\\U盘备份工具.exe(onefile/windowed/图标/版本信息),并打印 SHA-256 - tools/version_info.txt:2.1.0.0 版本资源 - get_volume_info 统一换算到卷根再查询:传子目录/文件也能拿到文件系统,修复 FAT32 4GB 上限与脏卷提示依赖 vol['fs'] 失效的问题 - 新增 2 项体积/卷信息测试(共 32 项)
This commit is contained in:
1 parent
8232b18c9f
commit
550bfaaa00
5 files changed
+106
-9
No files matched your search
@@ -0,0 +1,27 @@
|
||||
VSVersionInfo(
|
||||
ffi=FixedFileInfo(
|
||||
filevers=(2, 1, 0, 0),
|
||||
prodvers=(2, 1, 0, 0),
|
||||
mask=0x3f,
|
||||
flags=0x0,
|
||||
OS=0x40004,
|
||||
fileType=0x1,
|
||||
subtype=0x0,
|
||||
date=(0, 0)
|
||||
),
|
||||
kids=[
|
||||
StringFileInfo([
|
||||
StringTable('080404B0', [
|
||||
StringStruct('CompanyName', 'Udisk Backup'),
|
||||
StringStruct('FileDescription', 'U盘备份工具 - 增量/镜像备份,复制后 SHA-256 校验'),
|
||||
StringStruct('FileVersion', '2.1.0.0'),
|
||||
StringStruct('InternalName', 'usb_backup'),
|
||||
StringStruct('LegalCopyright', 'MIT License'),
|
||||
StringStruct('OriginalFilename', 'U盘备份工具.exe'),
|
||||
StringStruct('ProductName', 'U盘备份工具'),
|
||||
StringStruct('ProductVersion', '2.1.0.0')
|
||||
])
|
||||
]),
|
||||
VarFileInfo([VarStruct('Translation', [2052, 1200])])
|
||||
]
|
||||
)
|
||||
Reference in new issue
Block a user