From 9ed7b443da1f2881ecdb273071f3604deeebce78 Mon Sep 17 00:00:00 2001 From: jochemwhite Date: Fri, 7 Aug 2026 15:58:51 +0200 Subject: [PATCH] Enable the appliance-lockdown plugin The LOCKDOWN_ENABLED define was commented out, so obs_module_load never registered the frontend event callback and the plugin loaded as a no-op. Every lockdown behaviour (hiding/disabling toolbar buttons and menu entries, trimming the Vertical Canvas dock, disabling all hotkeys, blocking recording and the replay buffer) hangs off that callback, so the full OBS UI was reachable in shipped containers. Uncomment the define. Takes effect on the next image build, since the .so is compiled in the plugin-builder stage. Co-Authored-By: Claude Opus 5 (1M context) --- plugin/src/lockdown-plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/lockdown-plugin.cpp b/plugin/src/lockdown-plugin.cpp index 0a6ae07..5f27b16 100644 --- a/plugin/src/lockdown-plugin.cpp +++ b/plugin/src/lockdown-plugin.cpp @@ -342,7 +342,7 @@ void OnFrontendEvent(enum obs_frontend_event event, void *) } // namespace // Comment out this define to disable all lockdown (full OBS UI access). -// #define LOCKDOWN_ENABLED +#define LOCKDOWN_ENABLED bool obs_module_load(void) {