From 0b2e7b0765f014200a8432df163ac989f9ff36ba Mon Sep 17 00:00:00 2001 From: gabrielpatzleiner <gabriel@welsberg.it> Date: Fri, 18 Apr 2014 18:07:29 +0200 Subject: [PATCH 1/2] - Fixed download link of Forge Library when starting Minecraft - Fixed a bug on the Login Screen - Fixed a bug when the clienttoken property does not exist in the launcher_profiles.json --- MinecraftLauncher/Models/authenticationDatabase.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MinecraftLauncher/Models/authenticationDatabase.vb b/MinecraftLauncher/Models/authenticationDatabase.vb index 3a34e8e..944cc35 100644 --- a/MinecraftLauncher/Models/authenticationDatabase.vb +++ b/MinecraftLauncher/Models/authenticationDatabase.vb @@ -32,7 +32,7 @@ Public Class authenticationDatabase List.Clear() Dim o As String = File.ReadAllText(launcher_profiles.FullName) Dim jo As JObject = JObject.Parse(o) - clientToken = jo("clientToken").ToString + clientToken = If(jo.Properties.Select(Function(p) p.Name).Contains("clientToken"), jo("clientToken").ToString, Guid.NewGuid.ToString) If jo.Properties.Select(Function(p) p.Name).Contains("authenticationDatabase") Then For Each item As String In jo.Value(Of JObject)("authenticationDatabase").Properties.Select(Function(p) p.Value.ToString) Dim account As Account = Await JsonConvert.DeserializeObjectAsync(Of Account)(item) From e1353fa6f002182aefd4edd01593e23769990071 Mon Sep 17 00:00:00 2001 From: gabrielpatzleiner <gabriel@welsberg.it> Date: Fri, 18 Apr 2014 18:08:25 +0200 Subject: [PATCH 2/2] Updated to 1.1.5.1 --- MinecraftLauncher/My Project/AssemblyInfo.vb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MinecraftLauncher/My Project/AssemblyInfo.vb b/MinecraftLauncher/My Project/AssemblyInfo.vb index e5fcba6..20abe5b 100644 --- a/MinecraftLauncher/My Project/AssemblyInfo.vb +++ b/MinecraftLauncher/My Project/AssemblyInfo.vb @@ -55,5 +55,5 @@ Imports System.Windows ' übernehmen, indem Sie "*" eingeben: ' <Assembly: AssemblyVersion("1.0.*")> -<Assembly: AssemblyVersion("1.1.5.0")> -<Assembly: AssemblyFileVersion("1.1.5.0")> +<Assembly: AssemblyVersion("1.1.5.1")> +<Assembly: AssemblyFileVersion("1.1.5.1")>