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.
- package/kernel/api/set/index.js +0 -1
- package/kernel/index.js +1 -0
- package/kernel/shell.js +1 -0
- package/kernel/shells.js +0 -2
- package/package.json +1 -1
package/kernel/api/set/index.js
CHANGED
package/kernel/index.js
CHANGED
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)
|