typora: add livecheck (#96678)

This commit is contained in:
Markus Reiter 2020-12-22 19:36:02 +01:00 committed by GitHub
parent 5c37d126da
commit 2e64260ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -1,13 +1,17 @@
cask "typora" do
version "0.9.9.36.2"
version "0.9.9.36.2,4901"
sha256 "b7f0628cc0421a5cfbcd4fcfb07799091880f0f717494137ba19b5cfb24a424b"
url "https://www.typora.io/download/Typora-#{version}.dmg"
appcast "https://www.typora.io/download/dev_update.xml"
url "https://www.typora.io/download/Typora-#{version.before_comma}.dmg"
name "Typora"
desc "Configurable document editor that supports Markdown"
homepage "https://typora.io/"
livecheck do
url "https://www.typora.io/download/dev_update.xml"
strategy :sparkle
end
auto_updates true
depends_on macos: ">= :high_sierra"