1
0
mirror of https://github.com/ciromattia/kcc synced 2026-07-12 07:53:18 +00:00

fix macOS app version showing 0.0.0 in Info.plist (#1385)

This commit is contained in:
Marian Leontiev
2026-07-10 00:25:42 +02:00
committed by GitHub
parent ca14a4c813
commit f6ae7661bc
2 changed files with 62 additions and 1 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class BuildBinaryCommand(setuptools.Command):
def run(self):
VERSION = __version__
if sys.platform == 'darwin':
os.system('pyinstaller --hidden-import=_cffi_backend -y -D -i icons/comic2ebook.icns -n "Kindle Comic Converter" -w -s kcc.py')
os.system('pyinstaller -y kcc-macos.spec')
# TODO /usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" --options runtime dist/Applications/Kindle\ Comic\ Converter.app -v
min_os = os.getenv('MACOSX_DEPLOYMENT_TARGET', '')
if min_os.startswith('10.1'):