update files

This commit is contained in:
nuintun 2016-01-14 11:03:38 +08:00
parent fd398e4aa9
commit 41baef028c

View File

@ -16,14 +16,9 @@ module.exports = {
ipc.on('emulator', function (event, project, action){ ipc.on('emulator', function (event, project, action){
var thread = threads[project.name]; var thread = threads[project.name];
console.log('action', action);
switch (action) { switch (action) {
case 'start': case 'start':
console.log(!thread || !thread.connected);
if (!thread || !thread.connected) { if (!thread || !thread.connected) {
console.log('start');
var env = {}; var env = {};
Object.keys(process.env).forEach(function (key){ Object.keys(process.env).forEach(function (key){