From c14fa70a08ae10335f2efecb33540b9947f4b41d Mon Sep 17 00:00:00 2001 From: Connection Refused Date: Fri, 2 Apr 2021 02:04:23 +0800 Subject: [PATCH] Update download.ps1 --- download.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/download.ps1 b/download.ps1 index 3b7f61bc..4a4c5efc 100644 --- a/download.ps1 +++ b/download.ps1 @@ -4,6 +4,7 @@ $NetchDataURL="https://github.com/NetchX/NetchData/archive/refs/heads/master.zip $NetchModeURL="https://github.com/NetchX/NetchMode/archive/refs/heads/master.zip" $NetchI18NURL="https://github.com/NetchX/NetchTranslation/archive/refs/heads/master.zip" +$last=$(Get-Location) New-Item -ItemType Directory -Name $OutputPath | Out-Null Set-Location $OutputPath @@ -31,4 +32,5 @@ Remove-Item -Force mode.zip Remove-Item -Force i18n.zip Get-Item * +Set-Location $last exit 0