DOSBox-X: fix version regex
This commit is contained in:
parent
02cd7cf142
commit
89f54f9f35
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class DOSBoxX extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch_json('https://api.github.com/repos/joncampbell123/dosbox-x/releases/latest'))
|
||||
return $this->parse_json('tag_name', '/dosbox-x-v(.+)/');
|
||||
return $this->parse_json('tag_name', '/-v(.+)$/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue