diff --git a/SPTInstaller/Resources/update.ps1 b/SPTInstaller/Resources/update.ps1 index be36892..f0787b1 100644 --- a/SPTInstaller/Resources/update.ps1 +++ b/SPTInstaller/Resources/update.ps1 @@ -16,7 +16,11 @@ if ($installer -ne $null) { Write-Host "Copying new installer ..." -Copy-Item -Path $source -Destination $destination -Force +Import-Module BitsTransfer + +Start-BitsTransfer -Source $source -Destination $destination + +Remove-Module BitsTransfer # remove the new installer from the cache folder after it is copied Remove-Item -Path $source diff --git a/SPTInstaller/SPTInstaller.csproj b/SPTInstaller/SPTInstaller.csproj index 86aab8f..2b89ea0 100644 --- a/SPTInstaller/SPTInstaller.csproj +++ b/SPTInstaller/SPTInstaller.csproj @@ -9,8 +9,8 @@ icon.ico Assets\icon.ico Debug;Release;TEST - 2.31 - 2.31 + 2.32 + 2.32 SPT-AKI