pinokiod 3.6.25 → 3.6.26

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.
@@ -588,6 +588,57 @@ class Bin {
588
588
  }
589
589
  // }
590
590
  }
591
+ async install2(req, ondata) {
592
+ let requirements = [{
593
+ name: "conda",
594
+ }, {
595
+ name: "git",
596
+ }, {
597
+ name: "zip",
598
+ }, {
599
+ name: "node",
600
+ }, {
601
+ name: "ffmpeg",
602
+ }]
603
+ let platform = os.platform()
604
+ if (platform === "win32") {
605
+ requirements.push({
606
+ name: "registry"
607
+ })
608
+ requirements.push({
609
+ name: "vs"
610
+ })
611
+ }
612
+ if (platform === "darwin") {
613
+ requirements.push({
614
+ name: "brew"
615
+ })
616
+ }
617
+ if (platform === "linux") {
618
+ requirements.push({
619
+ name: "gxx"
620
+ })
621
+ }
622
+ if (this.kernel.gpu === "nvidia") {
623
+ requirements.push({
624
+ name: "cuda"
625
+ })
626
+ }
627
+ requirements = requirements.concat([{
628
+ name: "py"
629
+ }, {
630
+ name: "cloudflared"
631
+ }, {
632
+ name: "playwright"
633
+ }, {
634
+ name: "huggingface"
635
+ }, {
636
+ name: "uv"
637
+ }])
638
+ req.params.requirements = JSON.stringify(requirements)
639
+ let res = await this.install(req, ondata)
640
+ return res
641
+ }
591
642
  async install(req, ondata) {
592
643
  /*
593
644
  req.params := {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.6.25",
3
+ "version": "3.6.26",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {