From b644f969f0899e40d7dc9ca6adf7e1847903a0ca Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 13 Jan 2023 10:22:32 +0000 Subject: [PATCH] fix(launcher): correct macOS plist path --- duckdns.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/duckdns.sh b/duckdns.sh index 1a3feae..ef2a516 100755 --- a/duckdns.sh +++ b/duckdns.sh @@ -101,9 +101,10 @@ cmd_launcher_uninstall() { ( # macOS if command -v launchctl > /dev/null; then - launchctl unload -w sh.duckdns."${DUCKDNS_SH_SUBDOMAIN}" + echo launchctl unload -w ~/Library/LaunchAgents/sh.duckdns."${DUCKDNS_SH_SUBDOMAIN}".plist + launchctl unload -w ~/Library/LaunchAgents/sh.duckdns."${DUCKDNS_SH_SUBDOMAIN}".plist - echo "Disabled login launcher: sh.duckdns.${DUCKDNS_SH_SUBDOMAIN}" + echo "Disabled login launcher." exit 0 fi