From 8fb064d0b04e4112946e9e8e71fe4967543ea940 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E5=B0=8F=E7=9A=AE-ZengXiaoPi?= <102937102+ZengXiaoPi@users.noreply.github.com> Date: Sat, 18 Nov 2023 20:02:12 +0800 Subject: [PATCH] Update Download.ps1 --- Download.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Download.ps1 b/Download.ps1 index 821aa3cd..243dda72 100644 --- a/Download.ps1 +++ b/Download.ps1 @@ -1,6 +1,6 @@ param( [string]$Authorization, - [string]$Server-Authorization + [string]$ServerAuthorization ) Set-Location "LocalizeLimbusCompany/Localize" @@ -24,7 +24,7 @@ Expand-Archive -Path "test.zip" -DestinationPath "." -Force Start-Process "lib/LLC_To_Paratranz.exe" -Wait $upload_headers = @{ - "Authorization" = "$Server-Authorization" + "Authorization" = "$ServerAuthorization" } Invoke-RestMethod -Uri "http://45.158.169.136:4512/upload" -Method POST -InFile "./LocalizeLimbusCompany/Release/LimbusLocalize_BIE_Dev.7z" -Headers $upload_headers