UltimMC: Actually make profile for local accounts, fixes #334

This commit is contained in:
Neptune
2024-03-07 23:57:59 -05:00
parent 17a06d8eab
commit 0b4b9a1783
18 changed files with 305 additions and 57 deletions

View File

@@ -0,0 +1,23 @@
#include "LocalStep.h"
#include "Application.h"
// This step does nothing but just log that we created a local account.
LocalStep::LocalStep(AccountData* data) : AuthStep(data) {}
LocalStep::~LocalStep() noexcept = default;
QString LocalStep::describe()
{
return tr("Creating local account.");
}
void LocalStep::rehydrate()
{
// NOOP
}
void LocalStep::perform()
{
emit finished(AccountTaskState::STATE_WORKING, tr("Created local account."));
}