Skip to content

Commit f088ad7

Browse files
authored
default MACOSX_DEPLOYMENT_TARGET
1 parent 8e5d573 commit f088ad7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def run(self):
4040
if sys.platform == 'darwin':
4141
os.system('pyinstaller --hidden-import=_cffi_backend -y -D -i icons/comic2ebook.icns -n "Kindle Comic Converter" -w -s kcc.py')
4242
# TODO /usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" --options runtime dist/Applications/Kindle\ Comic\ Converter.app -v
43-
min_os = os.getenv('MACOSX_DEPLOYMENT_TARGET')
43+
min_os = os.getenv('MACOSX_DEPLOYMENT_TARGET', '')
4444
if min_os.startswith('10.1'):
4545
os.system(f'appdmg kcc.json dist/kcc_osx_{min_os.replace(".", "_")}_legacy_{VERSION}.dmg')
4646
else:

0 commit comments

Comments
 (0)