Update: 调整Ampy板卡文件管理

本次更新用以配置Ampy板卡文件管理使其仅支持编辑文本文件
This commit is contained in:
王立帮
2024-08-18 01:52:21 +08:00
parent edce8ed5bc
commit 36428283e7
9 changed files with 219 additions and 44 deletions

View File

@@ -137,7 +137,7 @@ BU.burnByUSB = () => {
const hex2Blob = new Blob([ hexStr ], { type: 'text/plain' });
const buffer = await hex2Blob.arrayBuffer();
if (!buffer) {
layer.msg(Msg.Lang['固件读取出错'], { time: 1000 });
layer.msg(Msg.Lang['shell.bin.readFailed'], { time: 1000 });
return;
}
BU.burning = true;