Import source

This commit is contained in:
Steffen Lange 2019-07-15 22:27:48 +02:00
parent 50b489784d
commit 32b8c4cb56
34 changed files with 890 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<?php
class AdoptOpenJDK12 extends PatchBase {
function __construct() {
parent::__construct('AdoptOpenJDK', 'OpenJDK JRE 12', 'https://adoptopenjdk.net/');
}
function check() : bool {
if ($this->fetch('https://api.adoptopenjdk.net/v2/info/releases/openjdk12?release=latest&openjdk_impl=hotspot&type=jre&os=windows&arch=x64', true))
return $this->parse_json('openjdk_version');
return false;
}
}
?>