diff --git a/Casks/o/opera@beta.rb b/Casks/o/opera@beta.rb new file mode 100644 index 0000000000000..f6f83d1b0b730 --- /dev/null +++ b/Casks/o/opera@beta.rb @@ -0,0 +1,24 @@ +cask "opera@beta" do + version "110.0.5130.13" + sha256 "ebec460c5e22d5f17402401521c52e5e03ca2f6aefcdd8be9c34f1c6a0983368" + + url "https://get.geo.opera.com/pub/opera-beta/#{version}/mac/Opera_beta_#{version}_Setup.dmg" + name "Opera Beta" + desc "Web browser" + homepage "https://www.opera.com/computer/beta" + + livecheck do + url "https://get.geo.opera.com/pub/opera-beta/" + regex(%r{href=["']?v?(\d+(?:\.\d+)+)/?["' >]}i) + end + + auto_updates true + + app "Opera Beta.app" + + zap trash: [ + "~/Library/Application Support/com.operasoftware.OperaNext", + "~/Library/Caches/com.operasoftware.OperaNext", + "~/Library/Preferences/com.operasoftware.OperaNext.plist", + ] +end