pinokiod 2.1.62 → 2.1.64

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.
@@ -192,8 +192,10 @@ class Bin {
192
192
  }
193
193
 
194
194
  // init mods
195
- if (!this.mod) this.mod = {}
196
- if (!this.installed) this.installed = {}
195
+ //if (!this.mod) this.mod = {}
196
+ //if (!this.installed) this.installed = {}
197
+ this.mod = {}
198
+ this.installed = {}
197
199
  for(let mod of this.mods) {
198
200
  if (mod.mod.init) {
199
201
  await mod.mod.init()
@@ -241,6 +243,7 @@ class Bin {
241
243
  this.installed_initialized = false
242
244
 
243
245
  //this.installed = {}
246
+ this.installed = {}
244
247
 
245
248
  console.log("## check conda")
246
249
 
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "2.1.62",
3
+ "version": "2.1.64",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {