fix(plugins): add ifdef around accounts API and ci check (#6675)
This commit is contained in:
@@ -39,6 +39,7 @@ jobs:
|
||||
skip-artifact: false
|
||||
skip-crashpad: false
|
||||
build-deb: true
|
||||
plugins: true
|
||||
- os: ubuntu-24.04
|
||||
container: ghcr.io/chatterino/chatterino2-build-ubuntu-24.04:latest
|
||||
qt-version: 6.7.2
|
||||
@@ -46,6 +47,15 @@ jobs:
|
||||
skip-artifact: false
|
||||
skip-crashpad: false
|
||||
build-deb: true
|
||||
plugins: true
|
||||
- os: ubuntu-24.04
|
||||
container: ghcr.io/chatterino/chatterino2-build-ubuntu-24.04:latest
|
||||
qt-version: 6.7.2
|
||||
force-lto: false
|
||||
skip-artifact: false
|
||||
skip-crashpad: false
|
||||
build-deb: false
|
||||
plugins: false
|
||||
env:
|
||||
C2_ENABLE_LTO: ${{ matrix.force-lto }}
|
||||
C2_ENABLE_CRASHPAD: ${{ matrix.skip-crashpad == false }}
|
||||
@@ -84,6 +94,7 @@ jobs:
|
||||
-DCMAKE_PREFIX_PATH="$Qt6_DIR/lib/cmake" \
|
||||
-DCHATTERINO_STATIC_QT_BUILD=On \
|
||||
-DFORCE_JSON_GENERATION=${{matrix.os == 'ubuntu-24.04' && 'On' || 'Off'}} \
|
||||
-DCHATTERINO_PLUGINS=${{ matrix.plugins && 'On' || 'Off' }} \
|
||||
..
|
||||
make -j"$(nproc)"
|
||||
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@
|
||||
- Minor: Consolidate font picking into one dialog. (#6531)
|
||||
- Minor: Added a menu action to sort tabs alphabetically. (#6551)
|
||||
- Minor: Fixed "edit hotkey" dialog opening like a normal window. (#6540)
|
||||
- Minor: Added an API to get the current Twitch account in plugins. (#6554)
|
||||
- Minor: Added an API to get the current Twitch account in plugins. (#6554, #6675)
|
||||
- Minor: Added options to close multiple visible tabs. (#6515, #6619)
|
||||
- Minor: Added a setting to show the stream title in live messages. (#6572)
|
||||
- Minor: Add categories to the emoji viewer. (#6598)
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#include "controllers/plugins/api/Accounts.hpp"
|
||||
|
||||
#ifdef CHATTERINO_HAVE_PLUGINS
|
||||
|
||||
# include "Application.hpp"
|
||||
# include "controllers/accounts/AccountController.hpp"
|
||||
# include "controllers/plugins/SolTypes.hpp" // IWYU pragma: keep
|
||||
@@ -95,3 +97,5 @@ void createAccounts(sol::table &c2)
|
||||
}
|
||||
|
||||
} // namespace chatterino::lua::api
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user