pinokiod 1.1.40 → 1.1.42

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.
@@ -158,5 +158,4 @@ module.exports = async (req, ondata, kernel) => {
158
158
 
159
159
  kernel.keys = old
160
160
  }
161
-
162
161
  }
package/kernel/index.js CHANGED
@@ -221,6 +221,7 @@ class Kernel {
221
221
  "XDG_CACHE_HOME",
222
222
  "PIP_CACHE_DIR",
223
223
  "PIP_TMPDIR",
224
+ "TMPDIR",
224
225
  "TEMP",
225
226
  "TMP",
226
227
  "XDG_DATA_HOME",
package/kernel/shell.js CHANGED
@@ -110,6 +110,7 @@ class Shell {
110
110
  this.env.XDG_CACHE_HOME = path.resolve(this.kernel.homedir, "cache", "XDG_CACHE_HOME")
111
111
  this.env.PIP_CACHE_DIR = path.resolve(this.kernel.homedir, "cache", "PIP_CACHE_DIR")
112
112
  this.env.PIP_TMPDIR = path.resolve(this.kernel.homedir, "cache", "PIP_TMPDIR")
113
+ this.env.TMPDIR = path.resolve(this.kernel.homedir, "cache", "TMPDIR")
113
114
  this.env.TEMP = path.resolve(this.kernel.homedir, "cache", "TEMP")
114
115
  this.env.TMP = path.resolve(this.kernel.homedir, "cache", "TMP")
115
116
  this.env.XDG_DATA_HOME = path.resolve(this.kernel.homedir, "cache", "XDG_DATA_HOME")
package/kernel/shells.js CHANGED
@@ -28,9 +28,7 @@ class Shells {
28
28
  */
29
29
  async launch(params, options, ondata) {
30
30
  // iterate through all the envs
31
- console.log("before launch", params.env)
32
31
  params.env = this.kernel.bin.envs(params.env)
33
- console.log("after launch", params.env)
34
32
 
35
33
  let exec_path = (params.path ? params.path : ".") // use the current path if not specified
36
34
  let cwd = (options && options.cwd ? options.cwd : this.kernel.homedir) // if cwd exists, use it. Otherwise the cwd is pinokio home folder (~/pinokio)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.1.40",
3
+ "version": "1.1.42",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {