mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 03:16:58 +03:00
Implement basic yggdrasil auth.
No fancy login token saving involved.
This commit is contained in:
parent
eb4ed3734f
commit
984c36e571
15 changed files with 438 additions and 270 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#include "gui/logindialog.h"
|
||||
#include "gui/ProgressDialog.h"
|
||||
#include "gui/consolewindow.h"
|
||||
#include "logic/tasks/LoginTask.h"
|
||||
#include "logic/net/LoginTask.h"
|
||||
#include "logic/MinecraftProcess.h"
|
||||
#include "lists/InstanceList.h"
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ void InstanceLauncher::onLoginComplete()
|
|||
LoginTask * task = ( LoginTask * ) QObject::sender();
|
||||
auto result = task->getResult();
|
||||
auto instance = MMC->instances()->getInstanceById(instId);
|
||||
proc = instance->prepareForLaunch ( result.username, result.sessionID );
|
||||
proc = instance->prepareForLaunch ( result );
|
||||
if ( !proc )
|
||||
{
|
||||
//FIXME: report error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue