(buffer, chunk, maxLength = 20000)
| 268 | } |
| 269 | |
| 270 | function appendBounded(buffer, chunk, maxLength = 20000) { |
| 271 | const next = `${buffer}${chunk}` |
| 272 | return next.length > maxLength ? next.slice(next.length - maxLength) : next |
| 273 | } |
| 274 | |
| 275 | function startDesktopRuntime({ debugPort, userDataRoot, disablePersistedMetaCache, appPath }) { |
| 276 | const runtimePath = appPath ? packagedAppExecutablePath(appPath) : electronPath |
no outgoing calls
no test coverage detected