mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +00:00
Add some debug messages to help debug login problems
This commit is contained in:
parent
a656363642
commit
63674ba7f5
2 changed files with 6 additions and 0 deletions
|
@ -339,10 +339,14 @@ void LauncherCore::addRegistryKey(const Profile &settings, QString key, QString
|
|||
|
||||
void LauncherCore::login(Profile *profile, const QString &username, const QString &password, const QString &oneTimePassword)
|
||||
{
|
||||
qDebug() << "Logging in, performing asset update check.";
|
||||
|
||||
auto assetUpdater = new AssetUpdater(*profile, *this, this);
|
||||
assetUpdater->update();
|
||||
|
||||
connect(assetUpdater, &AssetUpdater::finishedUpdating, this, [this, assetUpdater, profile, username, password, oneTimePassword] {
|
||||
qDebug() << "Assets done updating!";
|
||||
|
||||
auto loginInformation = new LoginInformation(this);
|
||||
loginInformation->profile = profile;
|
||||
loginInformation->username = username;
|
||||
|
|
|
@ -21,6 +21,7 @@ SquareBoot::SquareBoot(LauncherCore &window, SquareLauncher &launcher, QObject *
|
|||
void SquareBoot::bootCheck(const LoginInformation &info)
|
||||
{
|
||||
Q_EMIT window.stageChanged(i18n("Checking for launcher updates..."));
|
||||
qDebug() << "Performing boot check...";
|
||||
|
||||
patcher = new Patcher(window, info.profile->gamePath() + "/boot", info.profile->bootData, this);
|
||||
connect(patcher, &Patcher::done, [this, &info] {
|
||||
|
@ -58,6 +59,7 @@ void SquareBoot::bootCheck(const LoginInformation &info)
|
|||
void SquareBoot::checkGateStatus(LoginInformation *info)
|
||||
{
|
||||
Q_EMIT window.stageChanged(i18n("Checking gate..."));
|
||||
qDebug() << "Checking gate...";
|
||||
|
||||
QUrl url("https://frontier.ffxiv.com/worldStatus/gate_status.json");
|
||||
url.setQuery(QString::number(QDateTime::currentMSecsSinceEpoch()));
|
||||
|
|
Loading…
Add table
Reference in a new issue