mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/zsh
|
||||||
|
|
||||||
#Setting up colors
|
# Setting up colors
|
||||||
BOLDRED="$(printf '\033[1;31m')"
|
BOLDRED="$(printf '\033[1;31m')"
|
||||||
BOLDGREEN="$(printf '\033[1;32m')"
|
BOLDGREEN="$(printf '\033[1;32m')"
|
||||||
NC="$(printf '\033[0m')" # No Color
|
NC="$(printf '\033[0m')" # No Color
|
||||||
@@ -54,6 +54,13 @@ cat >~/Library/LaunchAgents/org.user.Jackett.plist <<EOL
|
|||||||
|
|
||||||
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
|
# Run the agent
|
||||||
launchctl load ~/Library/LaunchAgents/org.user.Jackett.plist
|
launchctl load ~/Library/LaunchAgents/org.user.Jackett.plist
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user