mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-06 10:54:07 +08:00
update files
This commit is contained in:
parent
01ab04ef8a
commit
41a88d993d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user