fix(core): 修复离线版arduino上传时缺失progress layer
This commit is contained in:
@@ -258,6 +258,8 @@ ArduShell.upload = (boardType, port) => {
|
|||||||
const code = editor.getCode();
|
const code = editor.getCode();
|
||||||
ArduShell.progressLayer.title(`${Msg.Lang['shell.uploading']}...`);
|
ArduShell.progressLayer.title(`${Msg.Lang['shell.uploading']}...`);
|
||||||
mainStatusBarTabs.show();
|
mainStatusBarTabs.show();
|
||||||
|
ArduShell.progressLayer.title(`${Msg.Lang['shell.uploading']}...`);
|
||||||
|
ArduShell.progressLayer.show();
|
||||||
statusBarTerminal.setValue(Msg.Lang['shell.uploading'] + "...\n");
|
statusBarTerminal.setValue(Msg.Lang['shell.uploading'] + "...\n");
|
||||||
const configPath = path.join(ArduShell.shellPath, '../arduino-cli.json'),
|
const configPath = path.join(ArduShell.shellPath, '../arduino-cli.json'),
|
||||||
defaultLibPath = path.join(ArduShell.shellPath, '../libraries'),
|
defaultLibPath = path.join(ArduShell.shellPath, '../libraries'),
|
||||||
|
|||||||
Reference in New Issue
Block a user