Cotton code
32 lines · 1001 B · HTMLRaw
<?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"><!--  Cotton on the Mac as a launch agent (registered by Sources/LoginItem.swift through SMAppService.agent):  launchd opens it at login and again after a crash or a kill. A person's own Quit ends with status 0, which  launchd leaves alone until the next login or until the person opens Cotton.--><plist version="1.0"><dict>	<key>Label</key>	<string>com.decemberfm.cotton.mac.agent</string>	<key>BundleProgram</key>	<string>Contents/MacOS/Cotton</string>	<key>AssociatedBundleIdentifiers</key>	<array>		<string>com.decemberfm.cotton.mac</string>	</array>	<key>RunAtLoad</key>	<true/>	<key>KeepAlive</key>	<dict>		<key>SuccessfulExit</key>		<false/>	</dict>	<key>ThrottleInterval</key>	<integer>10</integer>	<key>LimitLoadToSessionType</key>	<string>Aqua</string>	<key>ProcessType</key>	<string>Interactive</string></dict></plist>