1 cask "nomachine-enterprise-client" do
3 sha256 "7dd459a03b7de661add987241063e153235de058b95acdf79d9d514b81b24f73"
5 url "https://download.nomachine.com/download/#{version.major_minor}/MacOSX/nomachine-enterprise-client_#{version}.dmg"
6 name "NoMachine Enterprise Client"
7 desc "Remote desktop software"
8 homepage "https://www.nomachine.com/"
11 url "https://www.nomachine.com/support&destination=downloads&callback=L2Rvd25sb2FkLz9pZD0xNi"
12 regex(/nomachine-enterprise-client[._-]v?(\d+(?:\.\d+)*_\d+)\.dmg/i)
17 # A launchctl job ordinarily manages uninstall once the app bundle is removed
18 # To ensure it ran, verify if /Library/Application Support/NoMachine/nxuninstall.sh no longer exists
19 uninstall launchctl: [
20 "com.nomachine.launchconf",
21 "com.nomachine.uninstall",
22 "com.nomachine.uninstallAgent",
26 "com.nomachine.nomachine.NoMachine*.pkg",
28 delete: "/Applications/NoMachine.app"
31 "/Library/Application Support/NoMachine",
33 "~/Library/Preferences/com.nomachine.nxdock.plist",
35 rmdir: "~/Documents/NoMachine"