3 sha256 "9cbea2f972b235029c9d68b15004e3d401668c3a24e86d60719eed26f2cc5a71"
5 url "https://github.com/stweil/OSXvnc/releases/download/V#{version}/VineServer-#{version}.dmg"
8 homepage "https://github.com/stweil/OSXvnc/"
12 regex(/^v?(\d+(?:[._]\d+)+)$/i)
13 strategy :github_latest do |json, regex|
14 json["tag_name"]&.scan(regex)&.map { |match| match[0].tr("_", ".") }
18 depends_on macos: ">= :sierra"
21 binary "#{appdir}/Vine Server.app/Contents/MacOS/OSXvnc-server"
22 binary "#{appdir}/Vine Server.app/Contents/MacOS/storepasswd"
23 binary "#{appdir}/Vine Server.app/Contents/MacOS/Vine Server"
25 uninstall delete: "/Library/Application Support/VineServer"
27 zap trash: "~/Library/Preferences/de.uni-mannheim.VineServer.plist"