fix(core): 修复离线版arduino上传时缺失progress layer

This commit is contained in:
王立帮
2025-04-29 21:55:36 +08:00
parent 08e28bfd27
commit 5728d628a2

View File

@@ -258,6 +258,8 @@ ArduShell.upload = (boardType, port) => {
const code = editor.getCode();
ArduShell.progressLayer.title(`${Msg.Lang['shell.uploading']}...`);
mainStatusBarTabs.show();
ArduShell.progressLayer.title(`${Msg.Lang['shell.uploading']}...`);
ArduShell.progressLayer.show();
statusBarTerminal.setValue(Msg.Lang['shell.uploading'] + "...\n");
const configPath = path.join(ArduShell.shellPath, '../arduino-cli.json'),
defaultLibPath = path.join(ArduShell.shellPath, '../libraries'),