src/Components/Updater/GithubStrategy.php
protected function getDownloadUrl(array $package): string
    {
        $downloadUrl = parent::getDownloadUrl($package);

        $downloadUrl = str_replace('releases/download', 'raw', $downloadUrl);

        return $downloadUrl.'/builds/'.basename(Phar::running());
    }
protected function getDownloadUrl(array $package): string
    {
        $downloadUrl = parent::getDownloadUrl($package);

        $downloadUrl = str_replace('releases/download', 'raw', $downloadUrl);

        return $downloadUrl.'/builds/'.basename(Phar::running());
    }
protected function getDownloadUrl ( array $ package ) : string { $ downloadUrl = parent :: getDownloadUrl ( $ package ) ; $ downloadUrl = str_replace ( 'releases/download' , 'raw' , $ downloadUrl ) ; return $ downloadUrl . '/builds/' . basename ( Phar :: running ( ) ) ; }
Returns the Download Url.

@param array $package

@return string
Returns the Download Url .