From 5fe4e9e058a0f56385baf9d6cda1bb12634c5cf5 Mon Sep 17 00:00:00 2001 From: Riley McArdle Date: Tue, 19 Jan 2010 22:10:18 -0600 Subject: [PATCH] Do not add language code to end of update download URL. --- mRemoteV1/App/App.Update.vb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mRemoteV1/App/App.Update.vb b/mRemoteV1/App/App.Update.vb index 02a60380..015f3a84 100644 --- a/mRemoteV1/App/App.Update.vb +++ b/mRemoteV1/App/App.Update.vb @@ -75,7 +75,7 @@ Namespace App 'get Download URL Dim strU As String = "" - strU = strUpdate.Substring(strUpdate.IndexOf("dURL: ") + 6, strUpdate.IndexOf(vbNewLine) - 6).Replace(".exe", "_" & Language.Base.CurrentLanguage.ToString & ".exe") + strU = strUpdate.Substring(strUpdate.IndexOf("dURL: ") + 6, strUpdate.IndexOf(vbNewLine) - 6) uI.DownloadUrl = strU @@ -125,7 +125,7 @@ Namespace App _curUI.UpdateLocation = My.Computer.FileSystem.SpecialDirectories.Temp & "\mRemote_Update.exe" wCl.DownloadFileAsync(New Uri(dURL), _curUI.UpdateLocation) - + Return True Catch ex As Exception mC.AddMessage(Messages.MessageClass.WarningMsg, "Update download failed" & vbNewLine & ex.Message, True)