Remove bintray from win32.ps1

This commit is contained in:
Shivam Mathur 2021-02-22 09:59:07 +05:30
parent 87a933f720
commit 8983fb3ae2
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -290,8 +290,8 @@ if ($null -eq $installed -or -not("$($installed.Version).".StartsWith(($version
} }
if ($version -eq $master_version) { if ($version -eq $master_version) {
$version = 'master' $version = 'master'
Invoke-WebRequest -UseBasicParsing -Uri https://dl.bintray.com/shivammathur/php/Install-PhpMaster.ps1 -OutFile $php_dir\Install-PhpMaster.ps1 > $null 2>&1 Invoke-WebRequest -UseBasicParsing -Uri https://github.com/shivammathur/php-builder-windows/releases/latest/download/Get-Php.ps1 -OutFile $php_dir\Get-Php.ps1 > $null 2>&1
& $php_dir\Install-PhpMaster.ps1 -Architecture $arch -ThreadSafe $ts -Path $php_dir & $php_dir\Get-Php.ps1 -Architecture $arch -ThreadSafe $ts -Path $php_dir
} else { } else {
Install-Php -Version $version -Architecture $arch -ThreadSafe $ts -InstallVC -Path $php_dir -TimeZone UTC -InitialPhpIni Production -Force > $null 2>&1 Install-Php -Version $version -Architecture $arch -ThreadSafe $ts -InstallVC -Path $php_dir -TimeZone UTC -InitialPhpIni Production -Force > $null 2>&1
} }