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' | |
| $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' |