pinokiod 2.1.59 → 2.1.61

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.
Files changed (2) hide show
  1. package/kernel/shell.js +11 -2
  2. package/package.json +1 -1
package/kernel/shell.js CHANGED
@@ -574,11 +574,20 @@ class Shell {
574
574
 
575
575
  // Visual Studio Build Tools (Exception)
576
576
  // only add conda env if conda exists
577
- if (conda_activation.length > 0) {
577
+ // if (conda_activation.length > 0) {
578
+ // const vs_path_env = this.kernel.bin.vs_path_env
579
+ // console.log({ vs_path_env })
580
+ // if (vs_path_env && vs_path_env.PATH) {
581
+ // const vs = `conda env config vars set PATH=${vs_path_env.PATH.join(path.delimiter)}${path.delimiter}%PATH%`
582
+ // console.log({ vs })
583
+ // conda_activation.push(vs)
584
+ // }
585
+ // }
586
+ if (conda_activation.length > 0 && this.platform === "win32") {
578
587
  const vs_path_env = this.kernel.bin.vs_path_env
579
588
  console.log({ vs_path_env })
580
589
  if (vs_path_env && vs_path_env.PATH) {
581
- const vs = `conda env config vars set PATH=${vs_path_env.PATH.join(path.delimiter)}${path.delimiter}%PATH%`
590
+ const vs = `set PATH=${vs_path_env.PATH.join(path.delimiter)}${path.delimiter}%PATH%`
582
591
  console.log({ vs })
583
592
  conda_activation.push(vs)
584
593
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "2.1.59",
3
+ "version": "2.1.61",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {