We only run on Ventura or later apparently

This commit is contained in:
Kovid Goyal 2023-11-17 16:51:15 +05:30
parent 8c4a460997
commit 8cf945252e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -52,6 +52,7 @@ APPNAME, VERSION = calibre_constants['appname'], calibre_constants['version']
basenames, main_modules, main_functions = calibre_constants['basenames'], calibre_constants['modules'], calibre_constants['functions']
ARCH_FLAGS = '-arch x86_64 -arch arm64'.split()
EXPECTED_ARCHES = {'x86_64', 'arm64'}
MINIMUM_SYSTEM_VERSION = '13.0.0'
def compile_launcher_lib(contents_dir, gcc, base, pyver, inc_dir):
@ -396,7 +397,7 @@ class Freeze:
CFBundlePackageType='APPL',
CFBundleSignature='????',
CFBundleExecutable='pdftohtml',
LSMinimumSystemVersion='11.0.0',
LSMinimumSystemVersion=MINIMUM_SYSTEM_VERSION,
LSRequiresNativeExecution=True,
NSAppleScriptEnabled=False,
CFBundleIconFile='',
@ -446,7 +447,7 @@ class Freeze:
CFBundleExecutable='calibre',
CFBundleDocumentTypes=docs,
CFBundleURLTypes=url_handlers,
LSMinimumSystemVersion='11.0.0',
LSMinimumSystemVersion=MINIMUM_SYSTEM_VERSION,
LSRequiresNativeExecution=True,
NSAppleScriptEnabled=False,
NSSupportsAutomaticGraphicsSwitching=True,