-
Notifications
You must be signed in to change notification settings - Fork 2
40 LaunchAgent and Manual Loan Period Removal
Note: The LaunchAgent is provided in the example Installer
LoanShark can be installed at any time during deployment. Since LoanShark is a sandboxed application, it needs to be run in user space. To ensure LoanShark runs in user space, we need to install a LaunchAgent.
This LaunchAgent will loop, running every 10 seconds that will:
- Check if LoanShark exists
- Check if User is not _mbsetupuser
- Check if User is on desktop (Finder process exists)
If not, the script will exit, and be re-executed 10 seconds later.
If yes, it will launch LoanShark.
Note: LoanShark is designed around a single use model which requires manual removal of different settings as outlined below.
com.github.cybertunnel.LoanShark.plist
Single LoanShark is a sandboxed application, it stores it's settings in the user's ~/Library/Containers/com.github.cybertunnel.LoanShark/Data/Library/Preferences/
folder.
To remove these settings, run this command rm ~/Library/Containers/com.github.cybertunnel.LoanShark/Data/Library/Preferences/com.github.cybertunnel.LoanShark.plist
then reboot and settings should be removed.
If you can, please contribute ♥
You can also freely edit the wiki, every little bit helps!
Thank you for being part of the LoanShark community! 🦈