mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 03:14:07 +08:00
update files
This commit is contained in:
parent
fd398e4aa9
commit
41baef028c
@ -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){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user