v0.97.0: macOS port (Round 129): OS-aware paths, config and cookies; Mac now-playing, packaging (PyInstaller .app, dmg build, signing notes, CI workflow) and docs
macOS / Tests (AppleSilicon) (push) Canceled after 0s
macOS / Tests (Intel) (push) Canceled after 0s
macOS / Build (AppleSilicon) (push) Canceled after 0s
macOS / Build (Intel) (push) Canceled after 0s
macOS / Publish the GitHub Release (push) Canceled after 0s

This commit is contained in:
2026-11-17 22:41:48 -08:00
parent b78b6c5275
commit f21c31940f
66 changed files with 6047 additions and 164 deletions
+14
View File
@@ -0,0 +1,14 @@
# PyInstaller runtime hook: give the frozen app's OpenSSL a CA bundle.
#
# A Python built for macOS asks OpenSSL for certificates in its own
# framework folder, which the .app doesn't have, so every https request
# made with plain urllib (the Spleeter and cliairplay downloads) would fail
# with CERTIFICATE_VERIFY_FAILED. requests brings certifi; point OpenSSL at
# its bundle unless the user already chose one.
import os
try:
import certifi
os.environ.setdefault("SSL_CERT_FILE", certifi.where())
except Exception: # noqa: BLE001 — no certifi: leave OpenSSL's default
pass