mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
avoid matching on latest*.yml files, used by lbry-desktop
This commit is contained in:
parent
bd45e753a9
commit
d6a1319dd5
1 changed files with 3 additions and 0 deletions
3
lib/thirdparty/Github.class.php
vendored
3
lib/thirdparty/Github.class.php
vendored
|
@ -7,6 +7,9 @@ class Github
|
|||
public static function isAssetForOs(array $asset, string $os)
|
||||
{
|
||||
$ext = pathinfo($asset['name'], PATHINFO_EXTENSION);
|
||||
if (strpos($asset['name'], 'latest') === 0) { //never match on
|
||||
return false;
|
||||
}
|
||||
switch ($os) {
|
||||
case OS::OS_LINUX:
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue