Skip to content

Commit

Permalink
Fix permissions for LaunchAgent removal
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankk2308 committed Nov 18, 2020
1 parent f6d347f commit 31b57bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions purge-wrangler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# purge-wrangler.sh
# Author(s): Mayank Kumar (mayankk2308, github.com / mac_editor, egpu.io)
# License: Specified in LICENSE.md.
# Version: 6.3.2
# Version: 6.3.3

# ----- ENVIRONMENT

Expand Down Expand Up @@ -32,7 +32,7 @@ is_bin_call=0
call_script_file=""

# Script version
script_major_ver="6" && script_minor_ver="3" && script_patch_ver="2"
script_major_ver="6" && script_minor_ver="3" && script_patch_ver="3"
script_ver="${script_major_ver}.${script_minor_ver}.${script_patch_ver}"
latest_script_data=""
latest_release_dwld=""
Expand Down Expand Up @@ -1092,7 +1092,7 @@ notify() {
do script \"purge-wrangler -a\"
end tell
else if (outcome = {button returned:\"Never\"}) then
do shell script \"rm ~/Library/LaunchAgents/io.egpu.purge-wrangler-agent.plist\"
do shell script \"rm ~/Library/LaunchAgents/io.egpu.purge-wrangler-agent.plist\" with administrator privileges
end if" 2>/dev/null 1>&2
sleep 10
}
Expand Down

0 comments on commit 31b57bb

Please sign in to comment.