-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
/
far2l.rb
36 lines (27 loc) 路 1.1 KB
/
far2l.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
28
29
30
31
32
33
34
35
36
cask "far2l" do
# NOTE: "2" is not a version number, but an intrinsic part of the product name
version "2.6.1_hotfix1"
on_mojave :or_older do
sha256 "d66f6468538f7f3648d0134e4b4bf39c264e84f84ce73795ca2edfadedb6cf21"
url "https://github.com/elfmz/far2l/releases/download/v_#{version}/far2l-#{version}-beta-MacOS-10.11-x64.dmg"
end
on_catalina do
sha256 "8bf09a4cb1548b145952cffdce80ea6230e6e6b10738e3a4148ef8d5e656f4c5"
url "https://github.com/elfmz/far2l/releases/download/v_#{version}/far2l-#{version}-beta-MacOS-10.15-x64.dmg"
end
on_big_sur :or_newer do
sha256 "081341178f047e335d714ddffa9797441ccff7ae632137374cf8a059e1e14e01"
url "https://github.com/elfmz/far2l/releases/download/v_#{version}/far2l-#{version}-beta-MacOS-11.2-universal.dmg"
end
name "far2l"
desc "Unix fork of FAR Manager v2"
homepage "https://github.com/elfmz/far2l"
livecheck do
url :url
regex(/v?(\d+(?:\.\d+)+(?:\w)*)/i)
strategy :github_latest
end
depends_on macos: ">= :el_capitan"
app "far2l.app"
zap trash: "~/Library/Saved Application State/com.far2l.savedState"
end