EPOD Window Bar: a window strip above the macOS Dock
EPOD Window Bar is a macOS agent app. It shows a thin strip above the Dock with one tab per window of the frontmost application. One click raises the window. Build from source with XcodeGen and Xcode. Signing uses Config.xcconfig (ad-hoc by default; a local Local.xcconfig can set a team ID). The app needs Accessibility and Screen Recording permissions, and runs in a reduced mode without Screen Recording. See README.md and docs/ for details.
This commit is contained in:
14
scripts/reset-permissions.sh
Executable file
14
scripts/reset-permissions.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
# reset-permissions.sh clears the macOS permissions for EPOD Window Bar.
|
||||
# Use this script to test the onboarding flow again.
|
||||
set -euo pipefail
|
||||
|
||||
BUNDLE_ID="com.epod.windowbar"
|
||||
|
||||
echo "==> Reset Accessibility for $BUNDLE_ID"
|
||||
tccutil reset Accessibility "$BUNDLE_ID" || true
|
||||
|
||||
echo "==> Reset Screen Recording for $BUNDLE_ID"
|
||||
tccutil reset ScreenCapture "$BUNDLE_ID" || true
|
||||
|
||||
echo "==> Done. Start the app again to see the onboarding window."
|
||||
43
scripts/run.sh
Executable file
43
scripts/run.sh
Executable file
@@ -0,0 +1,43 @@
|
||||
#!/bin/bash
|
||||
# run.sh builds EPOD Window Bar, kills the running instance, copies the app
|
||||
# to ~/Applications, and starts it. Always run the app from ~/Applications.
|
||||
# A stable path and a stable signature keep the macOS permissions.
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
cd "$ROOT"
|
||||
|
||||
APP_DISPLAY_NAME="EPOD Window Bar"
|
||||
PRODUCT_NAME="EPODWindowBar"
|
||||
SCHEME="EPODWindowBar"
|
||||
CONFIG="Debug"
|
||||
|
||||
DERIVED="$ROOT/.build/derived"
|
||||
BUILT_APP="$DERIVED/Build/Products/$CONFIG/$PRODUCT_NAME.app"
|
||||
DEST_APP="$HOME/Applications/$APP_DISPLAY_NAME.app"
|
||||
|
||||
echo "==> Generate the Xcode project with XcodeGen"
|
||||
xcodegen generate
|
||||
|
||||
echo "==> Build with xcodebuild"
|
||||
# The signing comes from Config.xcconfig. The default is ad-hoc signing.
|
||||
# Copy Local.xcconfig.example to Local.xcconfig to sign with your team ID.
|
||||
xcodebuild \
|
||||
-project "EPODWindowBar.xcodeproj" \
|
||||
-scheme "$SCHEME" \
|
||||
-configuration "$CONFIG" \
|
||||
-derivedDataPath "$DERIVED" \
|
||||
build
|
||||
|
||||
echo "==> Kill the running instance"
|
||||
killall "$PRODUCT_NAME" 2>/dev/null || true
|
||||
|
||||
echo "==> Copy the app to ~/Applications"
|
||||
mkdir -p "$HOME/Applications"
|
||||
rm -rf "$DEST_APP"
|
||||
cp -R "$BUILT_APP" "$DEST_APP"
|
||||
|
||||
echo "==> Start the app"
|
||||
open "$DEST_APP"
|
||||
|
||||
echo "==> Done. App is at: $DEST_APP"
|
||||
Reference in New Issue
Block a user