ivory

Simple MIDI keyboard monitor with advanced chord detection.
Log | Files | Refs | README | LICENSE

commit 590d85a14d112be8b8124d83e50adf2814c2c20f
parent 942786af33f42d87283b09b936fb8d68d63aac86
Author: ganten7 <ganten7@users.noreply.github.com>
Date:   Sun, 14 Dec 2025 00:47:32 -0600

Fix Python heredoc syntax error: use -c instead of heredoc

Diffstat:
M.github/workflows/release.yml | 44+++++++++++++++++++++-----------------------
1 file changed, 21 insertions(+), 23 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml @@ -241,29 +241,27 @@ jobs: fi done fi - # Create minimal Info.plist - cat > dist/Ivory.app/Contents/Info.plist << 'PLIST_EOF' - <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> - <plist version="1.0"> - <dict> - <key>CFBundleExecutable</key> - <string>Ivory</string> - <key>CFBundleIdentifier</key> - <string>com.github.ganten7.ivory</string> - <key>CFBundleName</key> - <string>Ivory</string> - <key>CFBundleVersion</key> - <string>1.0.0</string> - <key>CFBundleShortVersionString</key> - <string>1.0.0</string> - <key>LSMinimumSystemVersion</key> - <string>10.13</string> - <key>NSHighResolutionCapable</key> - <true/> - </dict> - </plist> - PLIST_EOF + # Create minimal Info.plist using Python to avoid YAML parsing issues + python3 << 'PYTHON_EOF' +import plistlib +import os + +plist_data = { + 'CFBundleExecutable': 'Ivory', + 'CFBundleIdentifier': 'com.github.ganten7.ivory', + 'CFBundleName': 'Ivory', + 'CFBundleVersion': '1.0.0', + 'CFBundleShortVersionString': '1.0.0', + 'LSMinimumSystemVersion': '10.13', + 'NSHighResolutionCapable': True +} + +plist_path = 'dist/Ivory.app/Contents/Info.plist' +os.makedirs(os.path.dirname(plist_path), exist_ok=True) + +with open(plist_path, 'wb') as f: + plistlib.dump(plist_data, f) +PYTHON_EOF echo "Manually created .app bundle" else echo "PyInstaller failed and dist/Ivory not usable"