Add install script for mac-agent
This commit is contained in:
10
mac-agent/uninstall.sh
Executable file
10
mac-agent/uninstall.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
LABEL="com.user.kb-focus"
|
||||
PLIST="$HOME/Library/LaunchAgents/$LABEL.plist"
|
||||
|
||||
launchctl bootout "gui/$(id -u)/$LABEL" 2>/dev/null || true
|
||||
rm -f "$PLIST"
|
||||
|
||||
echo "Uninstalled $LABEL"
|
||||
Reference in New Issue
Block a user