Skip to content

Commit af7ef08

Browse files
authored
Merge pull request #130 from github0null/dev
v3.6.3 revision
2 parents f3d6f12 + 8c8dae9 commit af7ef08

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
***
66

7-
### [v3.6.2]
7+
### [v3.6.3]
88

99
**Fixed**:
1010
- When there are too many nested folders, the response is slow when excluding directories.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"homepage": "https://github.com/github0null/eide/blob/master/README.md",
3333
"license": "MIT",
3434
"description": "A mcu development environment for 8051/AVR/STM8/Cortex-M/RISC-V",
35-
"version": "3.6.2",
35+
"version": "3.6.3",
3636
"preview": false,
3737
"engines": {
3838
"vscode": "^1.63.0"

src/CodeBuilder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import * as events from 'events';
2929
import * as globmatch from 'micromatch'
3030
import * as os from 'os';
3131

32-
import { AbstractProject } from "./EIDEProject";
32+
import { AbstractProject, VirtualSource } from "./EIDEProject";
3333
import { ResManager } from "./ResManager";
3434
import { File } from "../lib/node-utility/File";
3535
import {
@@ -129,7 +129,7 @@ export abstract class CodeBuilder {
129129
const rePath = this.project.ToRelativePath(source.file.path, false);
130130
const fInfo: any = { path: rePath || source.file.path }
131131
if (AbstractProject.isVirtualSourceGroup(group)) {
132-
fInfo.virtualPath = `${group.name}/${source.file.name}`
132+
fInfo.virtualPath = `${group.name}/${source.file.name}`.replace(`${VirtualSource.rootName}/`, '');
133133
}
134134
srcList.push(fInfo);
135135
}

src/EIDEProject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,7 @@ class EIDEProject extends AbstractProject {
20532053

20542054
// virtual files
20552055
if (vPath && typeof this.srcExtraCompilerConfig?.virtualPathFiles == 'object') {
2056-
matcher(this.srcExtraCompilerConfig?.virtualPathFiles, vPath);
2056+
matcher(this.srcExtraCompilerConfig?.virtualPathFiles, vPath.replace(`${VirtualSource.rootName}/`, ''));
20572057
}
20582058
}
20592059

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ async function checkAndInstallBinaries(forceInstall?: boolean): Promise<boolean>
396396
localVersion = cont;
397397
const mainLocalVersion = parseInt(localVersion.split('.')[0]);
398398
const mainMinReqVersion = parseInt(minReqVersion.split('.')[0]);
399-
if (mainMinReqVersion > mainLocalVersion) { // local Main verson < min Main version
399+
if (mainMinReqVersion != mainLocalVersion) { // local Main verson != min Main version
400400
localVersion = undefined; // local binaries is invalid, force update
401401
}
402402
}

0 commit comments

Comments
 (0)