feat(server): seperate server part and ability to run server without electron

This commit is contained in:
Alexey Kasyanchuk
2018-04-05 16:28:02 +03:00
parent fac6736710
commit e244fabd2c
12 changed files with 227 additions and 203 deletions

View File

@ -1,4 +1,4 @@
import appPath from './electronAppPath'
const appPath = require('./electronAppPath')
const { spawn } = require('child_process')
function getRandomInt(min, max) {
@ -78,4 +78,4 @@ const startSSH = (port, host, user, password, callback) => {
return ssh
}
export default startSSH
module.exports = startSSH