launched.openfreedom.plist
Edit · Copy to clipboard · View raw · Download
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>launched.openfreedom</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>-c</string>
<string>if [ $(ps aux | grep -v grep | grep -ci freedom) -lt 3 ]; then open /System/Volumes/Data/Applications/Freedom.app; fi </string>
</array>
<key>StartInterval</key>
<integer>300</integer>
</dict>
</plist>
To install:
curl https://launched.zerowidth.com/plists/a0ef98e0-718d-0139-30a9-61ae731e8372/install | sh
Copy to clipboard ·
View install script
To install manually:
mkdir -p ~/Library/LaunchAgents
curl -o ~/Library/LaunchAgents/launched.openfreedom.plist https://launched.zerowidth.com/plists/a0ef98e0-718d-0139-30a9-61ae731e8372.xml
launchctl load -w ~/Library/LaunchAgents/launched.openfreedom.plist
Or, to install as root:
curl -o ~/Downloads/launched.openfreedom.plist https://launched.zerowidth.com/plists/a0ef98e0-718d-0139-30a9-61ae731e8372.xml
sudo cp ~/Downloads/launched.openfreedom.plist /Library/LaunchDaemons
sudo launchctl load -w /Library/LaunchDaemons/launched.openfreedom.plist