Some more updater fixes
Paths were wrong - still used work directory instead of root
This commit is contained in:
parent
76f58eb42c
commit
613c01dab5
7 changed files with 82 additions and 68 deletions
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[])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue