mark-text: add arm version to cask (#143643)
* feat: add arm version to cask also added caveat explaining the arm version is unsigned, causing the "damaged package" error if quarnatine attr is set * Update Casks/mark-text.rb Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com> * Update mark-text.rb * Update mark-text.rb --------- Co-authored-by: Miccal Matthews <miccal.matthews@gmail.com> Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
This commit is contained in:
parent
a02243db15
commit
1167ed0360
|
@ -1,18 +1,26 @@
|
|||
cask "mark-text" do
|
||||
version "0.17.1"
|
||||
sha256 "83320faad3b217079f6638b1f4169ffc37465f255a93e262d1646f2a5f53f263"
|
||||
arch arm: "arm64", intel: "x64"
|
||||
|
||||
url "https://github.com/marktext/marktext/releases/download/v#{version}/marktext-x64.dmg"
|
||||
version "0.17.1"
|
||||
sha256 arm: "c7fb2f9917b0626999d4fef9a1827ccc515afb1c32f7453977af5c1cbcd9de4f",
|
||||
intel: "83320faad3b217079f6638b1f4169ffc37465f255a93e262d1646f2a5f53f263"
|
||||
|
||||
url "https://github.com/marktext/marktext/releases/download/v#{version}/marktext-#{arch}.dmg"
|
||||
name "MarkText"
|
||||
desc "Simple and elegant markdown editor"
|
||||
desc "Markdown editor"
|
||||
homepage "https://github.com/marktext/marktext"
|
||||
|
||||
app "MarkText.app"
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Application Support/marktext",
|
||||
"~/Library/Logs/marktext",
|
||||
"~/Library/Preferences/com.github.marktext.marktext.plist",
|
||||
"~/Library/Saved Application State/com.github.marktext.marktext.savedState",
|
||||
"~/Library/Logs/marktext",
|
||||
]
|
||||
|
||||
caveats <<~EOS
|
||||
The apple silicon (arm) version of #{token} is not signed, and
|
||||
will display an error stating it is damaged and can't be opened.
|
||||
EOS
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue