pinokiod 2.1.61 → 2.1.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/kernel/bin/vs.js CHANGED
@@ -37,14 +37,15 @@ class VS {
37
37
  const e1 = await this.kernel.bin.exists(ROOT_PATH)
38
38
  if (e1) {
39
39
  console.log("exists", ROOT_PATH)
40
- MSVC_PATH = await glob('**/VC/Tools/MSVC', { cwd: ROOT_PATH })
40
+ MSVC_PATH = await glob('**/VC/Tools/MSVC', { absolute: true, cwd: ROOT_PATH })
41
41
  if (MSVC_PATH.length > 0) {
42
42
  console.log({ MSVC_PATH })
43
- BUILD_PATH = await glob('**/VC/Auxiliary/Build', { cwd: ROOT_PATH })
43
+ BUILD_PATH = await glob('**/VC/Auxiliary/Build', { absolute: true, cwd: ROOT_PATH })
44
44
  console.log({ BUILD_PATH })
45
- CMAKE_PATH = await glob('**/Microsoft/CMake/CMake/bin', { cwd: ROOT_PATH })
45
+ CMAKE_PATH = await glob('**/Microsoft/CMake/CMake/bin', { absolute: true, cwd: ROOT_PATH })
46
46
  console.log({ CMAKE_PATH })
47
- CL_PATH = await glob('**/Hostx64/x64/cl.exe', { cwd: ROOT_PATH })
47
+ CL_PATH = await glob('**/Hostx64/x64/cl.exe', { absolute: true, cwd: ROOT_PATH })
48
+ console.log({ CL_PATH })
48
49
  break;
49
50
  }
50
51
  }
package/kernel/shell.js CHANGED
@@ -583,7 +583,7 @@ class Shell {
583
583
  // conda_activation.push(vs)
584
584
  // }
585
585
  // }
586
- if (conda_activation.length > 0 && this.platform === "win32") {
586
+ if (this.platform === "win32") {
587
587
  const vs_path_env = this.kernel.bin.vs_path_env
588
588
  console.log({ vs_path_env })
589
589
  if (vs_path_env && vs_path_env.PATH) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "2.1.61",
3
+ "version": "2.1.63",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {