added section for displaying aria2 and yt-dlp version info

This commit is contained in:
benson
2023-05-01 13:53:38 +08:00
parent 16e1fd47a8
commit b32971a55f
5 changed files with 76 additions and 25 deletions

View File

@@ -412,4 +412,8 @@ class Aria2
{
return $this->bin;
}
public function version(){
$resp = $this->getVersion();
return $resp['result']['version'] ?? null;
}
}