Compare commits
No commits in common. "7fe3791456df02480bd5f5b68b9453d179189e2f" and "36fdcdbb2cefc5f8af70625bf2b14a8b9e7ab96c" have entirely different histories.
7fe3791456
...
36fdcdbb2c
4 changed files with 3 additions and 17 deletions
|
|
@ -6,7 +6,7 @@ class Blender extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://www.blender.org/download/'))
|
if ($this->fetch('https://www.blender.org/download/'))
|
||||||
return $this->parse('_//www\.blender\.org/download/release/Blender[\d\.]+/blender-([\d\.]+)-windows-x64\.msi_');
|
return $this->parse('/Download Blender ([\d\.]+)( LTS)?/');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
class NewPipe extends PatchBase {
|
|
||||||
function __construct() {
|
|
||||||
parent::__construct('Team NewPipe', 'NewPipe', 'https://newpipe.net/');
|
|
||||||
}
|
|
||||||
function check() : bool {
|
|
||||||
if ($this->fetch_json('https://api.github.com/repos/TeamNewPipe/NewPipe/releases/latest'))
|
|
||||||
return $this->parse_json('tag_name');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
@ -6,7 +6,7 @@ class OPNsense extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://opnsense.org/download/'))
|
if ($this->fetch('https://opnsense.org/download/'))
|
||||||
return $this->parse('/data-version="([\d.]+)"/');
|
return $this->parse('/data-version=\'([\d.]+)\'/');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ class PaintNet extends PatchBase {
|
||||||
}
|
}
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://www.getpaint.net/'))
|
if ($this->fetch('https://www.getpaint.net/'))
|
||||||
return $this->parse('/<b>Paint\.NET\s+([\d\.]+)<\/b>/');
|
return $this->parse('/<b>paint\.net\s+([\d\.]+)<\/b>/');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue