diff --git a/LittleBigMouse.Plugins/LittleBigMouse.Plugin.Vcp.Avalonia/VcpPlugin.cs b/LittleBigMouse.Plugins/LittleBigMouse.Plugin.Vcp.Avalonia/VcpPlugin.cs index 41c372a9..39be0aa0 100644 --- a/LittleBigMouse.Plugins/LittleBigMouse.Plugin.Vcp.Avalonia/VcpPlugin.cs +++ b/LittleBigMouse.Plugins/LittleBigMouse.Plugin.Vcp.Avalonia/VcpPlugin.cs @@ -34,12 +34,14 @@ public class VcpPlugin(IMainService mainService) : IBootloader { public Task LoadAsync(IBootContext bootstrapper) { + #if DEBUG mainService.AddControlPlugin(c => c.AddViewModeButton( "vcp", "Icon/MonitorVcp", "Vcp control") ); + #endif return Task.CompletedTask; }