mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
We only run on Ventura or later apparently
This commit is contained in:
parent
8c4a460997
commit
8cf945252e
@ -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']
|
basenames, main_modules, main_functions = calibre_constants['basenames'], calibre_constants['modules'], calibre_constants['functions']
|
||||||
ARCH_FLAGS = '-arch x86_64 -arch arm64'.split()
|
ARCH_FLAGS = '-arch x86_64 -arch arm64'.split()
|
||||||
EXPECTED_ARCHES = {'x86_64', 'arm64'}
|
EXPECTED_ARCHES = {'x86_64', 'arm64'}
|
||||||
|
MINIMUM_SYSTEM_VERSION = '13.0.0'
|
||||||
|
|
||||||
|
|
||||||
def compile_launcher_lib(contents_dir, gcc, base, pyver, inc_dir):
|
def compile_launcher_lib(contents_dir, gcc, base, pyver, inc_dir):
|
||||||
@ -396,7 +397,7 @@ class Freeze:
|
|||||||
CFBundlePackageType='APPL',
|
CFBundlePackageType='APPL',
|
||||||
CFBundleSignature='????',
|
CFBundleSignature='????',
|
||||||
CFBundleExecutable='pdftohtml',
|
CFBundleExecutable='pdftohtml',
|
||||||
LSMinimumSystemVersion='11.0.0',
|
LSMinimumSystemVersion=MINIMUM_SYSTEM_VERSION,
|
||||||
LSRequiresNativeExecution=True,
|
LSRequiresNativeExecution=True,
|
||||||
NSAppleScriptEnabled=False,
|
NSAppleScriptEnabled=False,
|
||||||
CFBundleIconFile='',
|
CFBundleIconFile='',
|
||||||
@ -446,7 +447,7 @@ class Freeze:
|
|||||||
CFBundleExecutable='calibre',
|
CFBundleExecutable='calibre',
|
||||||
CFBundleDocumentTypes=docs,
|
CFBundleDocumentTypes=docs,
|
||||||
CFBundleURLTypes=url_handlers,
|
CFBundleURLTypes=url_handlers,
|
||||||
LSMinimumSystemVersion='11.0.0',
|
LSMinimumSystemVersion=MINIMUM_SYSTEM_VERSION,
|
||||||
LSRequiresNativeExecution=True,
|
LSRequiresNativeExecution=True,
|
||||||
NSAppleScriptEnabled=False,
|
NSAppleScriptEnabled=False,
|
||||||
NSSupportsAutomaticGraphicsSwitching=True,
|
NSSupportsAutomaticGraphicsSwitching=True,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user