From 8cf945252ede29e7575f10ce5145e79298148dc5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 17 Nov 2023 16:51:15 +0530 Subject: [PATCH] We only run on Ventura or later apparently --- bypy/macos/__main__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bypy/macos/__main__.py b/bypy/macos/__main__.py index b4d66fff74..f0f9d43a93 100644 --- a/bypy/macos/__main__.py +++ b/bypy/macos/__main__.py @@ -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,