MCPcopy Create free account
hub / github.com/jhen0409/react-native-debugger / handleCommandLine

Function handleCommandLine

electron/main.js:46–52  ·  view source on GitHub ↗
(commandLine)

Source from the content-addressed store, hash-verified

44}
45
46const handleCommandLine = async (commandLine) => {
47 const url = commandLine.find((arg) => arg.startsWith('rndebugger://'))
48 if (!url) {
49 return
50 }
51 await handleURL(findWindow, url)
52}
53
54if (process.platform === 'linux') {
55 const singleInstanceLock = app.requestSingleInstanceLock()

Callers 1

main.jsFile · 0.85

Calls 1

handleURLFunction · 0.90

Tested by

no test coverage detected