pinokiod 3.2.88 → 3.2.89

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/index.js CHANGED
@@ -338,14 +338,11 @@ class Kernel {
338
338
  // let contents = await fs.promises.readdir(this.homedir)
339
339
  //await this.bin.init()
340
340
  let ts = Date.now()
341
- console.time("bin.init " + ts)
342
341
  this.bin.init().then(() => {
343
- console.timeEnd("bin.init" + ts)
342
+ console.log("bin init finished")
344
343
  })
345
344
  let ts2 = Date.now()
346
- console.time("api.init " + ts2)
347
345
  await this.api.init()
348
- console.timeEnd("api.init " + ts2)
349
346
 
350
347
  //await this.shell.init()
351
348
 
@@ -406,9 +403,7 @@ class Kernel {
406
403
  */
407
404
  console.log("> 4")
408
405
  let ts3 = Date.now()
409
- console.time("shell.init " + ts3)
410
406
  this.shell.init().then(() => {
411
- console.timeEnd("shell.init" + ts3)
412
407
  if (this.envs) {
413
408
  this.template.update({
414
409
  env: this.envs,
package/kernel/shell.js CHANGED
@@ -689,6 +689,7 @@ class Shell {
689
689
  this.done = false
690
690
  this.ptyProcess = pty.spawn(this.shell, this.args, config)
691
691
  this.ptyProcess.onData((data) => {
692
+ console.log("****** onData", data)
692
693
  if (!this.done) {
693
694
  this.queue.push(data)
694
695
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.88",
3
+ "version": "3.2.89",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {