From 4b8b4eb6493096b17f07e695021543d89a759841 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 27 Aug 2026 16:02:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../windows/version_info.template.txt | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 app/packaging/windows/version_info.template.txt 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])]) + ] +)