fix(plugins): add ifdef around accounts API and ci check (#6675)

This commit is contained in:
nerix
2025-12-23 23:57:52 +01:00
committed by GitHub
parent e00b404bd4
commit ab9c3fccb8
3 changed files with 23 additions and 8 deletions
+11 -7
View File
@@ -1,14 +1,16 @@
#include "controllers/plugins/api/Accounts.hpp"
#include "Application.hpp"
#include "controllers/accounts/AccountController.hpp"
#include "controllers/plugins/SolTypes.hpp" // IWYU pragma: keep
#include "providers/twitch/TwitchAccount.hpp"
#include "util/WeakPtrHelpers.hpp"
#ifdef CHATTERINO_HAVE_PLUGINS
#include <sol/sol.hpp>
# include "Application.hpp"
# include "controllers/accounts/AccountController.hpp"
# include "controllers/plugins/SolTypes.hpp" // IWYU pragma: keep
# include "providers/twitch/TwitchAccount.hpp"
# include "util/WeakPtrHelpers.hpp"
#include <optional>
# include <sol/sol.hpp>
# include <optional>
namespace {
@@ -95,3 +97,5 @@ void createAccounts(sol::table &c2)
}
} // namespace chatterino::lua::api
#endif