UNPKG

torchjs

Version:

test framework to light up the world

12 lines (8 loc) 440 B
#!/usr/bin/env node const path = require('path'); const launchElectronApp = require('../lib/launchElectronApp'); // TODO waiting for [electron-compilei#230](https://github.com/electron/electron-compile/issues/230) // const argvStr = process.argv.slice(2).join('') // const entry = argvStr.indexOf('--compiled') > -1 ? '../entry/compiled.js' : '../index.js' const entry = '../index.js'; launchElectronApp(path.resolve(__dirname, entry));