D++ (DPP)  10.0.30
C++ Discord API Bot Library
index.php File Reference

Variables

 $arch = !empty($arch) ? $arch : 'linux-x64'
 
if(preg_match('/^win/i', $arch) && $type==='deb') if($arch==='win' $json ) = json_decode(file_get_contents('release.json'))
 
if($version==='latest') $searchName = 'libdpp-' . preg_replace('/^v/', '', $version) . '-' . $arch . '.' . $type
 
 $type = !empty($type) ? $type : 'deb'
 
 $urls = []
 
 $version = !empty($version) ? $version : 'latest'
 

Variable Documentation

◆ $arch

$arch = !empty($arch) ? $arch : 'linux-x64'

◆ $json

if (preg_match('/^win/i', $arch) &&$type==='deb') if ( $arch==='win' $json) = json_decode(file_get_contents('release.json'))

◆ $searchName

if ( $version==='latest') $searchName = 'libdpp-' . preg_replace('/^v/', '', $version) . '-' . $arch . '.' . $type

◆ $type

$type = !empty($type) ? $type : 'deb'

◆ $urls

$urls = []

◆ $version

$version = !empty($version) ? $version : 'latest'