Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
MikesGlitch authored Sep 22, 2024
1 parent ec55e8d commit 92320bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/desktop-electron/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ if (isDev) {
}

function createBackgroundProcess() {
const defaultOptions = { stdio: 'pipe', allowLoadingUnsignedLibraries: true }

Check warning on line 57 in packages/desktop-electron/index.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `;`
serverProcess = utilityProcess.fork(
__dirname + '/server.js',
['--subprocess', app.getVersion()],
isDev ? { execArgv: ['--inspect'], stdio: 'pipe' } : { stdio: 'pipe' },
isDev ? { ...defaultOptions, execArgv: ['--inspect'] } : defaultOptions,
);

serverProcess.stdout?.on('data', (chunk: Buffer) => {
Expand Down

0 comments on commit 92320bc

Please sign in to comment.