Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto start at login #2

Closed
cpouldev opened this issue Feb 1, 2018 · 0 comments
Closed

Auto start at login #2

cpouldev opened this issue Feb 1, 2018 · 0 comments

Comments

@cpouldev
Copy link

cpouldev commented Feb 1, 2018

Thanks for this. It's a life saver. One question though. Is there a way to have it start at login? I tried with LaunchDeamons folder and with a plist file but my knowledge on this is limited

EDIT: Found a way

<?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>EnvironmentVariables</key>
	<dict>
		<key>PATH</key>
		<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin</string>
	</dict>
	<key>KeepAlive</key>
	<dict>
		<key>SuccessfulExit</key>
		<true/>
	</dict>
	<key>Label</key>
	<string>com.debounceMac.app</string>
	<key>ProgramArguments</key>
	<array>
		<string>/usr/local/bin/debounce</string>
	</array>
	<key>RunAtLoad</key>
	<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant