Initial commit
All checks were successful
Docker Build and Publish / build-and-push (push) Successful in 2m17s
All checks were successful
Docker Build and Publish / build-and-push (push) Successful in 2m17s
This commit is contained in:
14
backend/download_pb.ps1
Normal file
14
backend/download_pb.ps1
Normal file
@@ -0,0 +1,14 @@
|
||||
$pbVersion = "0.22.21"
|
||||
$zipUrl = "https://github.com/pocketbase/pocketbase/releases/download/v${pbVersion}/pocketbase_${pbVersion}_windows_amd64.zip"
|
||||
$outputZip = "pocketbase.zip"
|
||||
|
||||
Write-Host "Downloading PocketBase v${pbVersion}..."
|
||||
Invoke-WebRequest -Uri $zipUrl -OutFile $outputZip
|
||||
|
||||
Write-Host "Extracting..."
|
||||
Expand-Archive -Path $outputZip -DestinationPath . -Force
|
||||
|
||||
Write-Host "Cleaning up..."
|
||||
Remove-Item $outputZip
|
||||
|
||||
Write-Host "PocketBase setup complete."
|
||||
Reference in New Issue
Block a user