pinokiod 2.15.14 → 2.15.16

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.
@@ -57,7 +57,12 @@ class Playwright {
57
57
  }
58
58
  }, ondata)
59
59
 
60
- let pwpath = this.kernel.bin.path("miniconda/lib/node_modules/playwright")
60
+ let pwpath
61
+ if (this.kernel.platform === "win32") {
62
+ pwpath = this.kernel.bin.path("miniconda/node_modules/playwright")
63
+ } else {
64
+ pwpath = this.kernel.bin.path("miniconda/lib/node_modules/playwright")
65
+ }
61
66
  process.env.PLAYWRIGHT_BROWSERS_PATH = this.kernel.bin.path("playwright/browsers")
62
67
  this.kernel.playwright = (await this.kernel.loader.load(pwpath)).resolved
63
68
  }
package/kernel/index.js CHANGED
@@ -340,6 +340,7 @@ class Kernel {
340
340
  await this.bin.init()
341
341
  await this.api.init()
342
342
 
343
+ await this.shell.init()
343
344
 
344
345
  if (this.homedir) {
345
346
  this.sys = new Sysinfo()
package/kernel/shells.js CHANGED
@@ -26,6 +26,16 @@ class Shells {
26
26
  }]
27
27
  }
28
28
  */
29
+ async init() {
30
+ // iterate through all the envs
31
+ let sh = new Shell(this.kernel)
32
+ let response = await sh.start({
33
+ env: this.kernel.bin.envs({}),
34
+ }, async (stream) => {
35
+ process.stdout.write(stream.raw)
36
+ })
37
+ this.kernel.envs = sh.env
38
+ }
29
39
  async launch(params, options, ondata) {
30
40
  // iterate through all the envs
31
41
  params.env = this.kernel.bin.envs(params.env)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "2.15.14",
3
+ "version": "2.15.16",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1621,7 +1621,7 @@ footer.status {
1621
1621
  display: flex;
1622
1622
  padding: 10px;
1623
1623
  box-sizing: border-box;
1624
- text-align: right;
1624
+ align-items: center;
1625
1625
  background: royalblue;
1626
1626
  }
1627
1627
  #error-screen-close {
@@ -1656,7 +1656,6 @@ mark{
1656
1656
  margin: 5px 0;
1657
1657
  }
1658
1658
  #close-error-screen {
1659
- border-radius: 50px;
1660
1659
  background: white !important;
1661
1660
  padding: 15px !important;
1662
1661
  color: royalblue !important;