Menu bar utility that shows a centered HUD overlay with volume bars when system volume changes. CoreAudio monitoring, auto-fade, works on all spaces and fullscreen. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
571 B
Bash
Executable file
25 lines
571 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
APP_NAME="HUDini"
|
|
BUILD_DIR=".build"
|
|
APP_BUNDLE="$APP_NAME.app"
|
|
|
|
echo "Building $APP_NAME..."
|
|
swift build -c release
|
|
|
|
echo "Creating app bundle..."
|
|
rm -rf "$APP_BUNDLE"
|
|
mkdir -p "$APP_BUNDLE/Contents/MacOS"
|
|
mkdir -p "$APP_BUNDLE/Contents/Resources"
|
|
|
|
# Copy binary
|
|
cp "$BUILD_DIR/release/$APP_NAME" "$APP_BUNDLE/Contents/MacOS/$APP_NAME"
|
|
|
|
# Copy Info.plist
|
|
cp "Sources/$APP_NAME/Resources/Info.plist" "$APP_BUNDLE/Contents/"
|
|
|
|
echo "Done! Created $APP_BUNDLE"
|
|
echo ""
|
|
echo "To run: open $APP_BUNDLE"
|
|
echo "To install: cp -r $APP_BUNDLE /Applications/"
|