Skip to content

Commit

Permalink
Merge pull request #169292 from zyoshoka/texstudio-support-apple-silicon
Browse files Browse the repository at this point in the history
texstudio: support apple silicon
  • Loading branch information
krehel committed Apr 15, 2024
2 parents ec860b0 + d34b899 commit 65d96e4
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions Casks/t/texstudio.rb
@@ -1,17 +1,27 @@
cask "texstudio" do
version "4.7.3"
sha256 "ce1cd5ab82d907165e232dfc5ccf8329f086e375f4936c6b9da9b0091ddd0674"
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

url "https://github.com/texstudio-org/texstudio/releases/download/#{version}/texstudio-#{version}-osx.dmg",
verified: "github.com/texstudio-org/texstudio/"
name "TeXstudio"
desc "LaTeX editor"
homepage "https://texstudio.org/"

depends_on macos: ">= :big_sur"

app "texstudio.app"

zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/texstudio.sfl*",
"~/Library/Preferences/texstudio.plist",
Expand Down

0 comments on commit 65d96e4

Please sign in to comment.