mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user