forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
texstudio.rb
30 lines (24 loc) 路 1 KB
/
texstudio.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
cask "texstudio" do
version "4.7.3"
sha256 arm: "314da45d6071c4e18643282b25f6df7114bd42964d85b63526ffbfa048d993e7",
intel: "ce1cd5ab82d907165e232dfc5ccf8329f086e375f4936c6b9da9b0091ddd0674"
on_arm do
url "https://github.com/texstudio-org/texstudio/releases/download/#{version}/texstudio-#{version}-osx-m1.zip",
verified: "github.com/texstudio-org/texstudio/"
app "texstudio-#{version}-osx-m1.app"
end
on_intel do
url "https://github.com/texstudio-org/texstudio/releases/download/#{version}/texstudio-#{version}-osx.dmg",
verified: "github.com/texstudio-org/texstudio/"
app "texstudio.app"
end
name "TeXstudio"
desc "LaTeX editor"
homepage "https://texstudio.org/"
depends_on macos: ">= :big_sur"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/texstudio.sfl*",
"~/Library/Preferences/texstudio.plist",
"~/Library/Saved Application State/texstudio.savedState",
]
end