-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
/
epic.rb
27 lines (21 loc) · 820 Bytes
/
epic.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cask "epic" do
arch arm: "arm", intel: "intel"
version "120.0.6099.71"
sha256 arm: "f4c018f7c7bed4400eaa23ca14128c51d6a477250d5b453b8a00d01af83fe473",
intel: "0be47399f764d59ed14614b689bee5f8b8c31e2a425cd0baf02e322656698702"
url "https://cdn.epicbrowser.com/v#{version.major}#{arch}/epic_#{version}.dmg"
name "Epic Privacy Browser"
desc "Private, secure web browser"
homepage "https://epicbrowser.com/"
livecheck do
url "https://epicbrowser.com/thank-you"
regex(%r{href=.*?/epic[._-]v?(\d+(?:\.\d+)+)\.dmg}i)
end
depends_on macos: ">= :high_sierra"
app "Epic.app"
zap trash: [
"~/Library/Application Support/HiddenReflex/Epic",
"~/Library/Preferences/com.hiddenreflex.Epic.plist",
"~/Library/Saved Application State/com.hiddenreflex.Epic.savedState",
]
end