Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

texstudio: support apple silicon #169292

Merged
merged 4 commits into from Apr 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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