From f4bbd757062e285fa1a9e23a6ad62012e21d24d0 Mon Sep 17 00:00:00 2001 From: Evan Goode Date: Sat, 26 Oct 2024 15:25:27 -0400 Subject: [PATCH] Fix build? --- .github/workflows/build.yml | 2 +- launcher/minecraft/auth/AuthFlow.h | 1 + launcher/minecraft/auth/MinecraftAccount.h | 1 + tests/Manifest_test.cpp | 6 +++--- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4bdd138bb..cce6e2959 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -681,7 +681,7 @@ jobs: - name: Setup Cachix uses: cachix/cachix-action@v15 with: - name: fjordlauncher + name: unmojang authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - name: Run flake checks diff --git a/launcher/minecraft/auth/AuthFlow.h b/launcher/minecraft/auth/AuthFlow.h index e5db51d4c..a5aea9fa1 100644 --- a/launcher/minecraft/auth/AuthFlow.h +++ b/launcher/minecraft/auth/AuthFlow.h @@ -6,6 +6,7 @@ #include #include #include +#include #include "minecraft/auth/AccountData.h" #include "minecraft/auth/AuthStep.h" diff --git a/launcher/minecraft/auth/MinecraftAccount.h b/launcher/minecraft/auth/MinecraftAccount.h index d1b574997..5b479f7a1 100644 --- a/launcher/minecraft/auth/MinecraftAccount.h +++ b/launcher/minecraft/auth/MinecraftAccount.h @@ -42,6 +42,7 @@ #include #include #include +#include #include "AccountData.h" #include "AuthSession.h" diff --git a/tests/Manifest_test.cpp b/tests/Manifest_test.cpp index 6d2882d83..e0ce02405 100644 --- a/tests/Manifest_test.cpp +++ b/tests/Manifest_test.cpp @@ -1,7 +1,7 @@ #include #include -#include +#include #include "Manifest.h" @@ -93,7 +93,7 @@ A-Name-That-Is-Way-Too-Loooooooooooooooooooooooooooooooooooooooooooooooonooooooo } QVERIFY(caught); } - void test_misingColon() + void test_missingColon() { std::istringstream iss{ "Manifest-Version 1.0" }; bool caught = false; @@ -104,7 +104,7 @@ A-Name-That-Is-Way-Too-Loooooooooooooooooooooooooooooooooooooooooooooooonooooooo } QVERIFY(caught); } - void test_misingSpace() + void test_missingSpace() { std::istringstream iss{ "Manifest-Version:1.0" }; bool caught = false;