excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / n / nestopia.rb
blobe56ce9e33473d041bf7ec63733b1e0cc02dc053f
1 cask "nestopia" do
2   version "1.4.5"
3   sha256 "c427cad8bbc9973e955d787faf40a7dc76610c935097beb307c2496c776a0bb7"
5   url "https://www.bannister.org/software/dlh/nestopia-#{version.no_dots}.zip"
6   name "Nestopia"
7   desc "Nintendo Entertainment System (NES) emulator"
8   homepage "https://www.bannister.org/software/nestopia.htm"
10   livecheck do
11     url :homepage
12     regex(/>\s*?Nestopia\s+?v?(\d+(?:\.\d+)+)\s*?</i)
13   end
15   depends_on macos: ">= :el_capitan"
17   app "Nestopia v#{version}/Nestopia.app"
19   zap trash: [
20     "~/Library/Application Support/Bannister/Nestopia",
21     "~/Library/Preferences/com.bannister.nestopia.plist",
22     "~/Library/Saved Application State/com.bannister.nestopia.savedState",
23   ]
24 end