mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-24 05:17:46 +00:00
Fix Patcher args
This commit is contained in:
parent
4d45f5b4bc
commit
388a47f9fc
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ QCoro::Task<> SquareBoot::bootCheck(const LoginInformation &info)
|
|||
const auto reply = window.mgr->get(request);
|
||||
co_await reply;
|
||||
|
||||
patcher = new Patcher(window, info.profile->gamePath() + QStringLiteral("/boot"), info.profile->bootData, this);
|
||||
patcher = new Patcher(window, info.profile->gamePath() + QStringLiteral("/boot"), *info.profile->bootData, this);
|
||||
co_await patcher->patch(reply->readAll());
|
||||
|
||||
// update game version information
|
||||
|
|
|
@ -184,7 +184,7 @@ QCoro::Task<> SquareLauncher::registerSession(const LoginInformation &info)
|
|||
if (reply->rawHeaderList().contains(QByteArrayLiteral("X-Patch-Unique-Id"))) {
|
||||
const QString body = reply->readAll();
|
||||
|
||||
patcher = new Patcher(window, info.profile->gamePath() + QStringLiteral("/game"), info.profile->gameData, this);
|
||||
patcher = new Patcher(window, info.profile->gamePath() + QStringLiteral("/game"), *info.profile->gameData, this);
|
||||
co_await patcher->patch(body);
|
||||
|
||||
info.profile->readGameVersion();
|
||||
|
|
Loading…
Add table
Reference in a new issue