gpower: add livecheck (#97748)
This commit is contained in:
parent
d85ff6f532
commit
ca6418fec4
|
@ -3,10 +3,15 @@ cask "gpower" do
|
|||
sha256 "3faabed05929251901da704205a34385cfe4fc7516ba31f92e1cd9ac8086e572"
|
||||
|
||||
url "https://www.psychologie.hhu.de/fileadmin/redaktion/Fakultaeten/Mathematisch-Naturwissenschaftliche_Fakultaet/Psychologie/AAP/gpower/GPowerMac_#{version}.zip"
|
||||
appcast "https://www.psychologie.hhu.de/arbeitsgruppen/allgemeine-psychologie-und-arbeitspsychologie/gpower.html"
|
||||
name "G*Power"
|
||||
desc "Tool to compute statistical power analyses"
|
||||
homepage "https://www.psychologie.hhu.de/arbeitsgruppen/allgemeine-psychologie-und-arbeitspsychologie/gpower.html"
|
||||
|
||||
livecheck do
|
||||
url "https://www.psychologie.hhu.de/arbeitsgruppen/allgemeine-psychologie-und-arbeitspsychologie/gpower.html"
|
||||
strategy :page_match
|
||||
regex(%r{href=.*?/GPowerMac_(\d+(?:\.\d+)*)\.zip}i)
|
||||
end
|
||||
|
||||
app "G*Power.app"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue