Compare commits

...

4 Commits

Author SHA1 Message Date
David Sparer
6eff685b18 updated changelog 2016-12-01 15:40:04 -07:00
David Sparer
2d08146de8 updated changelog for 1.75beta3 2016-12-01 15:38:26 -07:00
Sean Kaim
f131420a44 Change from .exe to .msi
Fixes #289
2016-12-01 17:22:50 -05:00
David Sparer
245ea5463e updated the folder path resolution for the release folder to be a bit safer 2016-12-01 15:04:49 -07:00
3 changed files with 15 additions and 3 deletions

View File

@@ -1,3 +1,14 @@
1.75 Beta 3 (2016-12-01):
Fixes:
------
#289: Install fails during update process (only affects v1.75 beta 1 - v1.75 beta 2)
Known Issue:
------------
Portable build MD5 check will fail when updating from 1.75 Beta 1 to newer versions.
1.75 Beta 2 (2016-12-01):
Features/Enhancements:

View File

@@ -1,5 +1,6 @@
#Requires -Version 4.0
$releaseFolder = Join-Path -Path $PSScriptRoot -ChildPath "..\Release" -Resolve
$tag = Read-Host -Prompt 'Tag name'
Write-Host
@@ -8,7 +9,7 @@ Write-Host
Write-Host PORTABLE
Write-Host --------
$file = gci ..\Release\*.zip | sort LastWriteTime | select -last 1 | % { $_.FullName }
$file = Get-ChildItem -Path "$releaseFolder\*.zip" | sort LastWriteTime | select -last 1 | % { $_.FullName }
$filename = $file.Split("\") | select -last 1
$version = $file.tostring().Split("-")[2].trim(".zip")
@@ -27,7 +28,7 @@ Write-Host
Write-Host MSI
Write-Host ---
$file = gci ..\Release\*.msi | sort LastWriteTime | select -last 1 | % { $_.FullName }
$file = Get-ChildItem -Path "$releaseFolder\*.msi" | sort LastWriteTime | select -last 1 | % { $_.FullName }
$filename = $file.Split("\") | select -last 1
$version = $file.tostring().Split("-")[2].trim(".msi")

View File

@@ -120,7 +120,7 @@ namespace mRemoteNG.App.Update
throw new InvalidOperationException("CurrentUpdateInfo is not valid. GetUpdateInfoAsync() must be called before calling DownloadUpdateAsync().");
}
#if !PORTABLE
CurrentUpdateInfo.UpdateFilePath = Path.Combine(Path.GetTempPath(), Path.ChangeExtension(Path.GetRandomFileName(), "exe"));
CurrentUpdateInfo.UpdateFilePath = Path.Combine(Path.GetTempPath(), Path.ChangeExtension(Path.GetRandomFileName(), "msi"));
#else
var sfd = new SaveFileDialog
{