pinokiod 3.2.135 → 3.2.136
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 +1 -1
- package/kernel/index.js +9 -10
- package/package.json +1 -1
- package/server/index.js +5 -4
package/kernel/bin/index.js
CHANGED
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
|
-
|
|
427
|
-
|
|
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
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
|
-
|
|
787
|
+
// }, {
|
|
788
|
+
// name: "playwright"
|
|
788
789
|
}, {
|
|
789
790
|
name: "huggingface"
|
|
790
791
|
}, {
|