installer.py: Add Variant Info

This commit is contained in:
Mykola Grymalyuk
2022-01-22 15:32:35 -07:00
parent f042ddfe75
commit 33eef9b87f
7 changed files with 36 additions and 11 deletions

View File

@@ -46,10 +46,11 @@ app = BUNDLE(exe,
bundle_identifier="com.dortania.opencore-legacy-patcher-wxpython",
info_plist={
"CFBundleShortVersionString": constants.Constants().patcher_version,
"NSHumanReadableCopyright": "Copyright 2020-2022 Dortania",
"NSHumanReadableCopyright": constants.Constants().copyright_date
"LSMinimumSystemVersion": "10.10.0",
"NSRequiresAquaSystemAppearance": False,
"NSHighResolutionCapable": True,
"Build Date": time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()),
"BuildMachineOSBuild": subprocess.run("sw_vers -buildVersion".split(), stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout.decode().strip(),
"NSPrincipalClass": "NSApplication",
})