fix update script
idk why I can't use copy item but who cares, bits transfer still works fine
This commit is contained in:
parent
ee4586861f
commit
0f0f6b03a1
@ -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
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user