HisenseBar v1.0.0: native menu-bar remote for Hisense VIDAA TVs
- SwiftUI popover: apps grid w/ live search, sources, glass remote, gradient volume slider, animations - Persistent python protocol bridge (vidaa-control, MQTT/TLS :36669) - Wake-on-LAN power-on, one-time PIN pairing with token auto-refresh - MCP server for AI agents (11 tv_* tools) + live test script - Gitea Actions CI workflow
This commit is contained in:
Executable
+30
@@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
# Assemble HisenseBar.app from the release build
|
||||
set -e
|
||||
cd "$(dirname "$0")"
|
||||
swift build -c release
|
||||
APP="HisenseBar.app"
|
||||
rm -rf "$APP"
|
||||
mkdir -p "$APP/Contents/MacOS"
|
||||
cp .build/release/HisenseBar "$APP/Contents/MacOS/HisenseBar"
|
||||
mkdir -p "$APP/Contents/Resources"
|
||||
cp bridge.py "$APP/Contents/Resources/bridge.py"
|
||||
[ -f /tmp/AppIcon.icns ] && cp /tmp/AppIcon.icns "$APP/Contents/Resources/AppIcon.icns"
|
||||
cat > "$APP/Contents/Info.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>HisenseBar</string>
|
||||
<key>CFBundleIdentifier</key><string>rae.hisensebar</string>
|
||||
<key>CFBundleName</key><string>HisenseBar</string>
|
||||
<key>CFBundlePackageType</key><string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key><string>1.0</string>
|
||||
<key>CFBundleVersion</key><string>1</string>
|
||||
<key>CFBundleIconFile</key><string>AppIcon</string>
|
||||
<key>LSUIElement</key><true/>
|
||||
<key>NSLocalNetworkUsageDescription</key><string>HisenseBar connects to your Hisense TV on the local network to control it.</string>
|
||||
</dict>
|
||||
</plist>
|
||||
EOF
|
||||
echo "Built $APP"
|
||||
Reference in New Issue
Block a user