Update segger-jlink.rb
This commit is contained in:
parent
411e7f1316
commit
7216ec0741
|
@ -13,13 +13,9 @@ cask "segger-jlink" do
|
|||
desc "Software and Documentation pack for Segger J-Link debug probes"
|
||||
homepage "https://www.segger.com/downloads/jlink"
|
||||
|
||||
# The livecheck should be reverted to the following once the release notes
|
||||
# are updated appropriately.
|
||||
# url "https://www.segger.com/downloads/jlink/ReleaseNotes_JLink.html"
|
||||
# regex(/Version\s*V(\d+(?:\.\d+[a-z]?)*)/i)
|
||||
livecheck do
|
||||
url "https://www.segger.com/downloads/jlink/"
|
||||
regex(/J-LinkSoftwareAndDocumentationPack\s[\s\S]*?option\svalue="0">V(\d+(?:\.\d+[a-z]?)*)/i)
|
||||
url "https://www.segger.com/downloads/jlink/ReleaseNotes_JLink.html"
|
||||
regex(/Version\s*V(\d+(?:\.\d+[a-z]?)*)/i)
|
||||
end
|
||||
|
||||
pkg "JLink_MacOSX_V#{version.no_dots}_universal.pkg"
|
||||
|
|
Loading…
Reference in New Issue