Add global command bypass with Cthulhu+Z
This commit is contained in:
1 parent
d01965c00d
commit
4c95c9f278
26 files changed
+657
-18
No files matched your search
@@ -139,6 +139,9 @@ func (gate *focusGate) SetLocked(active bool, adapter Adapter, listener InputLis
|
||||
if !gate.secure.CompareAndSwap(!active, active) {
|
||||
return
|
||||
}
|
||||
if active {
|
||||
gate.bypass.restore()
|
||||
}
|
||||
gate.retireTentacleOutput()
|
||||
gate.sync_remote_policy()
|
||||
for _, target := range []any{adapter, listener, commands} {
|
||||
|
||||
Reference in new issue
Block a user