fix update script

idk why I can't use copy item but who cares, bits transfer still works fine
This commit is contained in:
IsWaffle 2024-03-19 12:51:30 -04:00
parent ee4586861f
commit 0f0f6b03a1
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -9,8 +9,8 @@
<PackageIcon>icon.ico</PackageIcon>
<ApplicationIcon>Assets\icon.ico</ApplicationIcon>
<Configurations>Debug;Release;TEST</Configurations>
<AssemblyVersion>2.31</AssemblyVersion>
<FileVersion>2.31</FileVersion>
<AssemblyVersion>2.32</AssemblyVersion>
<FileVersion>2.32</FileVersion>
<Company>SPT-AKI</Company>
</PropertyGroup>