1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 12:47:44 +00:00

Add option to launch config backup

* I had no idea this tool existed actually :-p
This commit is contained in:
redstrate 2021-11-02 08:39:52 -04:00
parent c267c68368
commit 5d3dfb6ca2

View file

@ -162,6 +162,11 @@ LauncherWindow::LauncherWindow(QWidget* parent) :
launchExecutable({gamePath + "/boot/ffxivsysinfo64.exe"});
});
QAction* launchCfgBackup = toolsMenu->addAction("Launch Config Backup...");
connect(launchCfgBackup, &QAction::triggered, [=] {
launchExecutable({gamePath + "/boot/ffxivconfig64.exe"});
});
const auto savedServerType = settings.value("serverType", 0).toInt();
const auto savedLobbyURL = settings.value("lobbyURL", "127.0.0.1").toString();
const auto shouldRememberUsername = settings.value("rememberUsername", false).toBool();