Update: WebSocket下MicroPython板卡支持管理板卡文件

This commit is contained in:
王立帮
2024-12-03 19:22:22 +08:00
parent 3911fa27ac
commit b1747a3ad5
7 changed files with 245 additions and 69 deletions

View File

@@ -16,7 +16,7 @@ export default class ShellMicroPython extends Shell {
com: config.port
};
const command = MString.tpl(config.command, info);
return this.exec(command);
return this.execUntilClosed(command);
}
async upload(config) {
@@ -26,6 +26,6 @@ export default class ShellMicroPython extends Shell {
com: config.port
};
const command = MString.tpl(config.command, info);
return this.exec(command);
return this.execUntilClosed(command);
}
}