diff --git a/app/packaging/windows/version_info.template.txt b/app/packaging/windows/version_info.template.txt new file mode 100644 index 000000000..b7993801f --- /dev/null +++ b/app/packaging/windows/version_info.template.txt @@ -0,0 +1,32 @@ +# UTF-8 +# PyInstaller version resource template. Values are generated from +# doctor_workstation.__version__ by packaging/doctor_workstation.spec. +VSVersionInfo( + ffi=FixedFileInfo( + filevers=(@VERSION_TUPLE@), + prodvers=(@VERSION_TUPLE@), + mask=0x3f, + flags=0x0, + OS=0x40004, + fileType=0x1, + subtype=0x0, + date=(0, 0) + ), + kids=[ + StringFileInfo([ + StringTable( + '080404B0', + [ + StringStruct('CompanyName', 'ZYT'), + StringStruct('FileDescription', '医生工作台'), + StringStruct('FileVersion', '@VERSION_STRING@'), + StringStruct('InternalName', 'DoctorWorkstation'), + StringStruct('OriginalFilename', 'DoctorWorkstation.exe'), + StringStruct('ProductName', '医生工作台'), + StringStruct('ProductVersion', '@VERSION_STRING@') + ] + ) + ]), + VarFileInfo([VarStruct('Translation', [2052, 1200])]) + ] +)