feat(core): micropython 板卡文件管理 右键菜单添加 上传 和 下载 选项
This commit is contained in:
@@ -54,8 +54,8 @@ class AmpyExt extends Ampy {
|
||||
return this.exec(port, this.render('ls', { port, baud, folderPath }));
|
||||
}
|
||||
|
||||
async get(port, baud, filePath) {
|
||||
return this.exec(port, this.render('get', { port, baud, filePath }));
|
||||
async get(port, baud, filePath, encoding = 'utf8') {
|
||||
return this.exec(port, this.render('get', { port, baud, filePath, encoding }));
|
||||
}
|
||||
|
||||
async mkdir(port, baud, folderPath) {
|
||||
|
||||
Reference in New Issue
Block a user