From 613c01dab5222a99fa642a466ce37ade53f1c072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 5 Jan 2014 13:17:42 +0100 Subject: Some more updater fixes Paths were wrong - still used work directory instead of root --- main.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 89eef72f..57131942 100644 --- a/main.cpp +++ b/main.cpp @@ -10,13 +10,7 @@ int main_gui(MultiMC &app) mainWin.show(); mainWin.checkMigrateLegacyAssets(); mainWin.checkSetDefaultJava(); - auto exitCode = app.exec(); - - // Update if necessary. - if (!app.getExitUpdatePath().isEmpty()) - app.installUpdates(app.getExitUpdatePath(), false); - - return exitCode; + return app.exec(); } int main(int argc, char *argv[]) -- cgit v1.2.3