Skip to content

Commit e83c2d4

Browse files
committed
v3.25.6 revision
1 parent b23c5dc commit e83c2d4

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ All notable version changes will be recorded in this file.
66

77
***
88

9-
### [v3.25.5] revision
9+
### [v3.25.6] revision
1010

1111
**Fix**:
1212
- `Flasher`: fix flasher crashed when enumSerialPort failed.
1313
- `Setup Toolchain`: fix performace issue for OnSetToolchainPath(). update toolchain descriptions.
1414
- `sdcc+binutils Toolchain`: fix "fatal error: cannot execute 'cc1'" for Win32 platform.
15+
- `Misc`: Compatibility improvement for [vscode task issue 260534](https://github.com/microsoft/vscode/issues/260534)
1516

1617
***
1718

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"homepage": "https://em-ide.com",
3737
"license": "MIT",
3838
"description": "A mcu development environment for 8051/AVR/STM8/Cortex-M/MIPS/RISC-V",
39-
"version": "3.25.5",
39+
"version": "3.25.6",
4040
"preview": false,
4141
"engines": {
4242
"vscode": "^1.67.0"

src/CodeBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ export abstract class CodeBuilder {
310310
shellOption.executable = 'cmd.exe';
311311
shellOption.shellArgs = ['/D', '/C'];
312312
// FIXME: https://github.com/microsoft/vscode/issues/260534
313-
if (compareVersion(vscode.version, '1.103.0') < 0)
313+
if (!/^1\.103\./.test(vscode.version))
314314
commandLine = `"${commandLine}"`;
315315
} else {
316316
shellOption.executable = '/bin/bash';

src/utility.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ export async function runShellCommand(title: string, commandLine: string, opts?:
695695
shellOption.executable = 'cmd.exe';
696696
shellOption.shellArgs = ['/D', '/C'];
697697
// FIXME: https://github.com/microsoft/vscode/issues/260534
698-
if (compareVersion(vscode.version, '1.103.0') < 0)
698+
if (!/^1\.103\./.test(vscode.version))
699699
commandLine = `"${commandLine}"`;
700700
} else {
701701
shellOption.executable = '/bin/bash';

0 commit comments

Comments
 (0)