pinokiod 3.2.135 → 3.2.137

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.
@@ -231,6 +231,7 @@ class Bin {
231
231
  }
232
232
  async tryList() {
233
233
  let res
234
+ let start
234
235
  let conda_check = {}
235
236
  let conda = new Set()
236
237
  res = await this.exec({ message: `conda list` }, (stream) => {
@@ -238,7 +239,7 @@ class Bin {
238
239
  })
239
240
 
240
241
  console.log("CONDA", res.response)
241
- lines = res.response.split(/[\r\n]+/)
242
+ let lines = res.response.split(/[\r\n]+/)
242
243
  for(let line of lines) {
243
244
  if (start) {
244
245
  let chunks = line.split(/\s+/).filter(x => x)
package/kernel/index.js CHANGED
@@ -415,18 +415,17 @@ class Kernel {
415
415
  }
416
416
 
417
417
 
418
- console.log("> 5")
419
418
 
420
- let pwpath
421
- if (this.platform === "win32") {
422
- pwpath = this.bin.path("miniconda/node_modules/playwright")
423
- } else {
424
- pwpath = this.bin.path("miniconda/lib/node_modules/playwright")
425
- }
426
- process.env.PLAYWRIGHT_BROWSERS_PATH = this.bin.path("playwright/browsers")
427
- this.playwright = (await this.loader.load(pwpath)).resolved
419
+ // let pwpath
420
+ // if (this.platform === "win32") {
421
+ // pwpath = this.bin.path("miniconda/node_modules/playwright")
422
+ // } else {
423
+ // pwpath = this.bin.path("miniconda/lib/node_modules/playwright")
424
+ // }
425
+ let pwpath = this.bin.path("playwright/browsers")
426
+ process.env.PLAYWRIGHT_BROWSERS_PATH = pwpath
427
+ await fs.promises.mkdir(pwpath, { recursive: true }).catch((e) => { })
428
428
 
429
- console.log("> 6")
430
429
  // await this.template.init()
431
430
 
432
431
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.135",
3
+ "version": "3.2.137",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -74,6 +74,7 @@ class Server {
74
74
  if (platform === "linux") {
75
75
  process.env.WEBKIT_DISABLE_DMABUF_RENDERER = 1
76
76
  }
77
+
77
78
  // process.env.CONDA_LIBMAMBA_SOLVER_DEBUG_LIBSOLV = 1
78
79
  }
79
80
  stop() {
@@ -501,8 +502,8 @@ class Server {
501
502
  name: "py"
502
503
  }, {
503
504
  name: "cloudflared"
504
- }, {
505
- name: "playwright"
505
+ // }, {
506
+ // name: "playwright"
506
507
  }, {
507
508
  name: "huggingface"
508
509
  }, {
@@ -783,8 +784,8 @@ class Server {
783
784
  name: "py"
784
785
  }, {
785
786
  name: "cloudflared"
786
- }, {
787
- name: "playwright"
787
+ // }, {
788
+ // name: "playwright"
788
789
  }, {
789
790
  name: "huggingface"
790
791
  }, {