MCPcopy Index your code
hub / github.com/21st-dev/1code / unlockDevTools

Function unlockDevTools

src/main/index.ts:877–883  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

875
876 // Unlock devtools and rebuild menu (called from renderer via IPC)
877 const unlockDevTools = () => {
878 if (!devToolsUnlocked) {
879 devToolsUnlocked = true
880 console.log("[App] DevTools unlocked via hidden feature")
881 buildMenu()
882 }
883 }
884
885 // Expose setUpdateAvailable globally for auto-updater
886 ;(global as any).__setUpdateAvailable = setUpdateAvailable

Callers

nothing calls this directly

Calls 1

buildMenuFunction · 0.85

Tested by

no test coverage detected