mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-13 20:22:13 +00:00
Some more updater fixes
Paths were wrong - still used work directory instead of root
This commit is contained in:
8
main.cpp
8
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[])
|
||||
|
||||
Reference in New Issue
Block a user