pinokiod 0.1.9 → 0.1.10
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/bin/index.js +3 -3
- package/package.json +1 -1
- package/server/index.js +1 -4
package/kernel/bin/index.js
CHANGED
|
@@ -240,7 +240,7 @@ class Bin {
|
|
|
240
240
|
let lines
|
|
241
241
|
if (conda_exists) {
|
|
242
242
|
res = await this.exec({ message: `conda list`, conda: "base" }, (stream) => {
|
|
243
|
-
console.log("conda list check", { stream })
|
|
243
|
+
// console.log("conda list check", { stream })
|
|
244
244
|
})
|
|
245
245
|
|
|
246
246
|
console.log("CONDA", res.response)
|
|
@@ -268,7 +268,7 @@ class Bin {
|
|
|
268
268
|
console.log("## check pip")
|
|
269
269
|
start = false
|
|
270
270
|
res = await this.exec({ message: `pip list` }, (stream) => {
|
|
271
|
-
console.log("pip list check", { stream })
|
|
271
|
+
// console.log("pip list check", { stream })
|
|
272
272
|
})
|
|
273
273
|
console.log("PIP", res.response)
|
|
274
274
|
lines = res.response.split(/[\r\n]+/)
|
|
@@ -300,7 +300,7 @@ class Bin {
|
|
|
300
300
|
if (brew_exists) {
|
|
301
301
|
start = false
|
|
302
302
|
res = await this.exec({ message: `brew list -1` }, (stream) => {
|
|
303
|
-
console.log("brew list check", { stream })
|
|
303
|
+
// console.log("brew list check", { stream })
|
|
304
304
|
})
|
|
305
305
|
console.log("BREW", res.response)
|
|
306
306
|
lines = res.response.split(/[\r\n]+/).slice(0, -1) // ignore last line since it's the prompt
|
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -877,7 +877,6 @@ class Server {
|
|
|
877
877
|
let item = items[i]
|
|
878
878
|
let p = path.resolve(uri, item.name, "pinokio.js")
|
|
879
879
|
let config = (await this.kernel.loader.load(p)).resolved
|
|
880
|
-
console.log("## CONFIG", config)
|
|
881
880
|
if (config) {
|
|
882
881
|
if (config.pinokiod) {
|
|
883
882
|
// if the script contains a 'pinokiod' field, compare it against the current version
|
|
@@ -927,7 +926,6 @@ class Server {
|
|
|
927
926
|
|
|
928
927
|
}
|
|
929
928
|
}
|
|
930
|
-
console.log({ running, notRunning })
|
|
931
929
|
|
|
932
930
|
running = this.getItems(running, meta, p)
|
|
933
931
|
notRunning = this.getItems(notRunning, meta, p)
|
|
@@ -1041,7 +1039,6 @@ class Server {
|
|
|
1041
1039
|
if (menuitem.href && menuitem.params) {
|
|
1042
1040
|
menuitem.href = menuitem.href + "?" + new URLSearchParams(menuitem.params).toString();
|
|
1043
1041
|
}
|
|
1044
|
-
console.log("menuitem", menuitem)
|
|
1045
1042
|
|
|
1046
1043
|
|
|
1047
1044
|
|
|
@@ -1360,7 +1357,7 @@ class Server {
|
|
|
1360
1357
|
}
|
|
1361
1358
|
|
|
1362
1359
|
// configure from kernel.store
|
|
1363
|
-
this.syncConfig()
|
|
1360
|
+
await this.syncConfig()
|
|
1364
1361
|
|
|
1365
1362
|
// initialize kernel
|
|
1366
1363
|
await this.kernel.init()
|