1 |
|
2 |
|
3 | const path = require('path');
|
4 | const launchElectronApp = require('../lib/launchElectronApp');
|
5 |
|
6 | // TODO waiting for [electron-compilei#230](https://github.com/electron/electron-compile/issues/230)
|
7 | // const argvStr = process.argv.slice(2).join('')
|
8 | // const entry = argvStr.indexOf('--compiled') > -1 ? '../entry/compiled.js' : '../index.js'
|
9 | const entry = '../index.js';
|
10 |
|
11 | launchElectronApp(path.resolve(__dirname, entry));
|