Initial import of transcript pipeline

This commit is contained in:
maddin
2026-04-15 00:01:38 +02:00
commit fea662392c
305 changed files with 40508 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
set -euo pipefail
KEEP_FILES="false"
if [[ "${1:-}" == "--keep-files" ]]; then
KEEP_FILES="true"
fi
PLIST_NAME="com.maddin.whisper-transcript-pipeline.plist"
TARGET_DIR="$HOME/Library/LaunchAgents"
TARGET_PLIST="$TARGET_DIR/$PLIST_NAME"
DOMAIN="gui/$(id -u)"
LABEL="com.maddin.whisper-transcript-pipeline"
launchctl bootout "$DOMAIN" "$TARGET_PLIST" >/dev/null 2>&1 || true
launchctl disable "$DOMAIN/$LABEL" >/dev/null 2>&1 || true
if [[ "$KEEP_FILES" != "true" ]]; then
rm -f "$TARGET_PLIST"
echo "Uninstalled $LABEL"
else
echo "Stopped $LABEL"
fi