pinokiod 3.7.1 → 3.7.2

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 +6 -0
  2. package/package.json +1 -1
package/kernel/shell.js CHANGED
@@ -121,6 +121,12 @@ class Shell {
121
121
  this.env.CMAKE_OBJECT_PATH_MAX = 1024
122
122
  this.env.PYTORCH_ENABLE_MPS_FALLBACK = 1
123
123
  this.env.TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD = 1
124
+ if (this.platform === 'win32') {
125
+ this.env.USERPROFILE = this.kernel.homedir
126
+ } else {
127
+ this.env.HOME = this.kernel.homedir
128
+ }
129
+
124
130
  // this.env.PIP_REQUIRE_VIRTUALENV = "true"
125
131
  // this.env.NPM_CONFIG_USERCONFIG = this.kernel.path("user_npmrc")
126
132
  // this.env.NPM_CONFIG_GLOBALCONFIG = this.kernel.path("global_npmrc")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.7.1",
3
+ "version": "3.7.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {