Initial commit: local_machine docs and scripts
This commit is contained in:
9
docs/connectivity/launchd/uninstall.sh
Executable file
9
docs/connectivity/launchd/uninstall.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Снимает LaunchAgent: выгружает и удаляет plist из ~/Library/LaunchAgents/.
|
||||
set -e
|
||||
PLIST_NAME="com.hunab.telegram-socks.plist"
|
||||
DST="$HOME/Library/LaunchAgents/$PLIST_NAME"
|
||||
|
||||
launchctl unload "$DST" 2>/dev/null || true
|
||||
rm -f "$DST"
|
||||
echo "Uninstalled: $DST"
|
||||
Reference in New Issue
Block a user