Skip to content

Commit

Permalink
fix(launcher): correct macOS plist path
Browse files Browse the repository at this point in the history
  • Loading branch information
coolaj86 committed Jan 13, 2023
1 parent a2f4bde commit b644f96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions duckdns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b644f96

Please sign in to comment.