update files

This commit is contained in:
nuintun 2016-01-14 11:22:29 +08:00
parent 01ab04ef8a
commit 41a88d993d

View File

@ -152,7 +152,8 @@ module.exports = Vue.component('app-main', {
runtime.worker.port.postMessage({
action: 'write',
name: project.name,
data: '\u001b[32m执行命令\u001b[0m: \u001b[35m' + name + '\u001b[0m\r\n'
data: '\u001b[32m' + (status === 0 ? '执行' : '结束')
+ '命令\u001b[0m: \u001b[35m' + name + '-\[' + command + '\]\u001b[0m\r\n'
});
ipc.send('emulator', {
@ -218,7 +219,8 @@ module.exports = Vue.component('app-main', {
data = '\u001b[31m发生错误: \u001b[0m' + data + '\r\n';
break;
case 'close':
data = '\u001b[32m命令执行完成\u001b[0m\r\n';
data = '\u001b[32m' + (status === 1 ? '执行' : '结束') + '命令成功\u001b[0m\r\n';
status = 0;
break;
}