File size: 267 Bytes
4d70170
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env node
const electron = require('electron')
const spawn = require('cross-spawn')

const argv = process.argv.slice(2)

const result = spawn.sync(
  electron,
  [require.resolve('./app')].concat(argv),
  { stdio: 'ignore' },
)

process.exit(result.status)