From 684ac4aa73b2e89623ea73da6086af39d08a67df Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 13 May 2024 09:39:26 +0530 Subject: [PATCH] Add patch for request --- extension/BuildPhpExtension/patches/request.ps1 | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 extension/BuildPhpExtension/patches/request.ps1 diff --git a/extension/BuildPhpExtension/patches/request.ps1 b/extension/BuildPhpExtension/patches/request.ps1 new file mode 100644 index 0000000..378eab1 --- /dev/null +++ b/extension/BuildPhpExtension/patches/request.ps1 @@ -0,0 +1,3 @@ +Invoke-WebRequest -Uri "https://github.com/pmjones/ext-request/archive/d55b408a1b5e465dd4e74020982edaa43a335ad3.zip" -OutFile "$ENV:TEMP/request.zip" +Expand-Archive -Path "$ENV:TEMP/request.zip" -DestinationPath "$ENV:TEMP" +Copy-Item -Path $env:TEMP/ext-request-d55b408a1b5e465dd4e74020982edaa43a335ad3/* -Destination (Get-Location).Path -Recurse -Force