Casks/s/sameboy.rb
cask "sameboy" do
version "0.16.6"
sha256 "ba87041a32667fa459588e700ca8800c0d0f4461d80c2e61b5c1c726931c2080"
url "https://github.com/LIJI32/SameBoy/releases/download/v#{version}/sameboy_cocoa_v#{version}.zip",
verified: "github.com/LIJI32/SameBoy/"
name "SameBoy"
desc "Game Boy and Game Boy Color emulator"
homepage "https://sameboy.github.io/"
livecheck do
url :url
strategy :github_latest
end
depends_on macos: ">= :sierra"
app "SameBoy.app"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.github.liji32.sameboy.sfl*",
"~/Library/Caches/com.github.liji32.sameboy",
"~/Library/Preferences/com.github.liji32.sameboy.plist",
"~/Library/Saved Application State/com.github.liji32.sameboy.savedState",
]
end