-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Expand file tree
/
Copy pathopenshot-video-editor@daily.rb
More file actions
33 lines (28 loc) · 1.12 KB
/
openshot-video-editor@daily.rb
File metadata and controls
33 lines (28 loc) · 1.12 KB
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
cask "openshot-video-editor@daily" do
version "3.5.1,15808-b9b5c882-48516e0b,release-candidate"
sha256 "a56f6514c7701617b83b9b188de645f280e3a62f0a4bd6d0f77c43083b7ee174"
url "https://github.com/OpenShot/openshot-qt/releases/download/daily/OpenShot-v#{version.csv.first}-#{version.csv.third || "daily"}-#{version.csv.second}-x86_64.dmg",
verified: "github.com/OpenShot/openshot-qt/"
name "OpenShot Video Editor (Daily Build)"
desc "Cross-platform video editor"
homepage "https://openshot.org/"
livecheck do
url "https://www.openshot.org/download/"
regex(/
href=.*?OpenShot[._-]v?(\d+(?:\.\d+)+)
[._-]((?:dev-)?daily|release-candidate)[._-](.*)[._-]x86[._-]64\.dmg["' >]
/ix)
strategy :page_match do |page, regex|
page.scan(regex).map do |match|
(match[1] == "daily") ? "#{match[0]},#{match[2]}" : "#{match[0]},#{match[2]},#{match[1]}"
end
end
end
conflicts_with cask: "openshot-video-editor"
app "OpenShot Video Editor.app"
zap trash: [
"~/.openshot_qt",
"~/Library/Application Support/openshot",
"~/Library/Preferences/openshot-qt.plist",
]
end