mirror of
https://github.com/Jackett/Jackett
synced 2025-01-03 13:46:10 +00:00
This commit is contained in:
parent
39740d1f4c
commit
30d55aea3c
1 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/zsh
|
||||
|
||||
# Setting up colors
|
||||
BOLDRED="$(printf '\033[1;31m')"
|
||||
|
@ -54,6 +54,13 @@ cat >~/Library/LaunchAgents/org.user.Jackett.plist <<EOL
|
|||
|
||||
EOL
|
||||
|
||||
# Un-quarantine all dylib and DLL files
|
||||
echo "Removing Jackett executable and all .dylib and .dll files from quarantine..."
|
||||
qstr="$(xattr -p com.apple.quarantine jackett)"
|
||||
qstr="00c1${qstr:4}"
|
||||
xattr -w com.apple.quarantine $qstr jackett
|
||||
xattr -w com.apple.quarantine $qstr *.{dylib,dll}
|
||||
|
||||
# Run the agent
|
||||
launchctl load ~/Library/LaunchAgents/org.user.Jackett.plist
|
||||
|
||||
|
|
Loading…
Reference in a new issue