diff --git a/gui/ConsoleWindow.ui b/gui/ConsoleWindow.ui index 8dc800159..472c7c8d4 100644 --- a/gui/ConsoleWindow.ui +++ b/gui/ConsoleWindow.ui @@ -6,8 +6,8 @@ 0 0 - 600 - 400 + 610 + 391 @@ -23,6 +23,9 @@ 0 + + 6 + @@ -49,6 +52,12 @@ + + 6 + + + 6 + @@ -65,14 +74,14 @@ - Kill Minecraft + &Kill Minecraft - Close + &Close @@ -80,6 +89,11 @@ + + text + closeButton + btnKillMinecraft + diff --git a/logic/LegacyUpdate.cpp b/logic/LegacyUpdate.cpp index 9533f8fff..8ba978274 100644 --- a/logic/LegacyUpdate.cpp +++ b/logic/LegacyUpdate.cpp @@ -40,7 +40,7 @@ void LegacyUpdate::lwjglStart() LegacyInstance *inst = (LegacyInstance *)m_inst; lwjglVersion = inst->lwjglVersion(); - lwjglTargetPath = PathCombine("lwjgl", lwjglVersion); + lwjglTargetPath = PathCombine(MMC->settings()->get("LWJGLDir").toString(), lwjglVersion); lwjglNativesPath = PathCombine(lwjglTargetPath, "natives"); // if the 'done' file exists, we don't have to download this again @@ -361,7 +361,10 @@ void LegacyUpdate::ModTheJar() setStatus("Installing mods - backing up minecraft.jar..."); if (!baseJar.exists() && !QFile::copy(runnableJar.filePath(), baseJar.filePath())) { - emitFailed("Failed to back up minecraft.jar"); + emitFailed("It seems both the active and base jar are gone. A fresh base jar will be used on next run."); + inst->setShouldRebuild(true); + inst->setShouldUpdate(true); + inst->setShouldUseCustomBaseJar(false); return; } }