3 sha256 :no_check # required as upstream package is updated in-place
5 url "https://www.madrau.com/data/switchresx/SwitchResX#{version.major}.zip"
7 desc "Controls screen display settings"
8 homepage "https://www.madrau.com/"
11 url "https://www.madrau.com/srx_download/download.html"
12 regex(/latest version \((\d+(?:\.\d+)+)\)/i)
17 prefpane "SwitchResX Installer.app/Contents/Plugins/SwitchResX.prefPane"
19 uninstall launchctl: "fr.madrau.switchresx.helper",
21 "fr.madrau.switchresx.app",
22 "fr.madrau.switchresx.daemon", # note, daemon does not :quit cleanly
25 ["INT", "fr.madrau.switchresx.daemon"],
26 ["KILL", "fr.madrau.switchresx.daemon"],
29 "/Library/ScriptingAdditions/SwitchResX Extensions.osax",
30 "/Library/ScriptingAdditions/SwitchResX Menu.osax",
34 "~/Library/Caches/fr.madrau.switchresx.app",
35 "~/Library/Caches/fr.madrau.switchresx.daemon",
36 "~/Library/Cookies/fr.madrau.switchresx.app.binarycookies",
37 "~/Library/Cookies/fr.madrau.switchresx.daemon.binarycookies",
38 "~/Library/Preferences/fr.madrau.switchres.desktop-layout.plist",
39 "~/Library/Preferences/fr.madrau.switchresx.app.plist",
40 "~/Library/Preferences/fr.madrau.switchresx.daemon.plist",
41 "~/Library/Saved Application State/fr.madrau.switchresx.app.savedState",