pinokiod 3.2.71 → 3.2.72

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.
@@ -17,7 +17,7 @@ class Aria2 {
17
17
  await this.kernel.bin.download(url, dest, ondata)
18
18
  await this.kernel.bin.unzip(dest, "aria2", ondata)
19
19
  } else {
20
- await this.kernel.bin.exec({ message: "conda install -y -c conda-forge aria2 --debug", conda: { name: "base", activate: "minimal"} }, ondata)
20
+ await this.kernel.bin.exec({ message: "conda install -y -c conda-forge aria2", conda: { name: "base", activate: "minimal"} }, ondata)
21
21
  }
22
22
  }
23
23
  async installed() {
@@ -19,8 +19,8 @@ class Brew {
19
19
  await this.kernel.bin.rm("Homebrew.zip", ondata)
20
20
 
21
21
  if (this.kernel.platform === "darwin") {
22
- await this.kernel.bin.exec({ sudo: true, message: "rm -rf /Library/Developer/CommandLineTools" }, (stream) => { ondata(stream) })
23
- await this.kernel.bin.exec({ message: "xcode-select --install" }, (stream) => { ondata(stream) })
22
+ await this.kernel.bin.exec({ sudo: true, conda: { skip: true }, message: "rm -rf /Library/Developer/CommandLineTools" }, (stream) => { ondata(stream) })
23
+ await this.kernel.bin.exec({ message: "xcode-select --install", conda: { skip: true } }, (stream) => { ondata(stream) })
24
24
 
25
25
  let sh_path = path.resolve(this.kernel.homedir, "xcode.sh")
26
26
  let src_path = path.resolve(__dirname, "xcode.sh")
@@ -28,17 +28,17 @@ class Brew {
28
28
  let sh = await fs.promises.readFile(src_path, "utf8")
29
29
  console.log({ sh })
30
30
  await fs.promises.writeFile(sh_path, sh)
31
- await this.kernel.bin.exec({ message: "bash ./xcode.sh", path: this.kernel.homedir }, (stream) => { ondata(stream) })
31
+ await this.kernel.bin.exec({ message: "bash ./xcode.sh", path: this.kernel.homedir, conda: { skip: true }}, (stream) => { ondata(stream) })
32
32
 
33
33
  ondata({ raw: "installing xcode-select. please approve the xcode-select install dialog and install before proceeding...\r\n" })
34
- await this.kernel.bin.exec({ message: "xcode-select --install" }, (stream) => { ondata(stream) })
34
+ await this.kernel.bin.exec({ message: "xcode-select --install", conda: { skip: true } }, (stream) => { ondata(stream) })
35
35
 
36
36
  //ondata({ raw: "Setting CommandLineTools path...\r\n" })
37
37
  //await this.kernel.bin.exec({ sudo: true, message: "xcode-select -switch /Library/Developer/CommandLineTools" }, (stream) => { ondata(stream) })
38
38
  }
39
39
  //
40
40
  ondata({ raw: "installing gettext\r\n" })
41
- await this.kernel.bin.exec({ message: "brew install gettext --force-bottle" }, (stream) => { ondata(stream) })
41
+ await this.kernel.bin.exec({ message: "brew install gettext --force-bottle", conda: { skip: true } }, (stream) => { ondata(stream) })
42
42
  //
43
43
  ondata({ raw: `Install finished\r\n` })
44
44
  }
@@ -5,6 +5,7 @@ class Cloudflared {
5
5
  let bin = this.kernel.bin
6
6
  if (bin.platform === "darwin") {
7
7
  await this.kernel.bin.exec({
8
+ conda: { skip: true },
8
9
  message: "brew uninstall cloudflared",
9
10
  }, ondata)
10
11
  } else if (bin.platform === "win32") {
@@ -22,6 +23,7 @@ class Cloudflared {
22
23
  let bin = this.kernel.bin
23
24
  if (bin.platform === "darwin") {
24
25
  await this.kernel.bin.exec({
26
+ conda: { skip: true },
25
27
  message: "brew install cloudflared",
26
28
  }, ondata)
27
29
  } else if (bin.platform === "win32") {
@@ -2,14 +2,14 @@ class Cuda {
2
2
  async install(req, ondata) {
3
3
  if (this.kernel.platform === "win32") {
4
4
  await this.kernel.bin.exec({
5
- message: "conda install -y cudnn libzlib-wapi -c conda-forge --debug",
5
+ message: "conda install -y cudnn libzlib-wapi -c conda-forge",
6
6
  conda: {
7
7
  name: "base",
8
8
  activate: "minimal"
9
9
  }
10
10
  }, ondata)
11
11
  await this.kernel.bin.exec({
12
- message: "conda install -y cuda -c nvidia/label/cuda-12.1.0 --debug",
12
+ message: "conda install -y cuda -c nvidia/label/cuda-12.1.0",
13
13
  conda: {
14
14
  name: "base",
15
15
  activate: "minimal"
@@ -17,14 +17,14 @@ class Cuda {
17
17
  }, ondata)
18
18
  } else {
19
19
  await this.kernel.bin.exec({
20
- message: "conda install -y cudnn -c conda-forge --debug",
20
+ message: "conda install -y cudnn -c conda-forge",
21
21
  conda: {
22
22
  name: "base",
23
23
  activate: "minimal"
24
24
  }
25
25
  }, ondata)
26
26
  await this.kernel.bin.exec({
27
- message: "conda install -y cuda -c nvidia/label/cuda-12.1.0 --debug",
27
+ message: "conda install -y cuda -c nvidia/label/cuda-12.1.0",
28
28
  conda: {
29
29
  name: "base",
30
30
  activate: "minimal"
@@ -5,7 +5,7 @@ const decompress = require('decompress');
5
5
  class Ffmpeg {
6
6
  async install(req, ondata) {
7
7
  await this.kernel.bin.exec({
8
- message: "conda install -y -c conda-forge ffmpeg --debug",
8
+ message: "conda install -y -c conda-forge ffmpeg",
9
9
  conda: {
10
10
  name: "base",
11
11
  activate: "minimal"
package/kernel/bin/git.js CHANGED
@@ -6,7 +6,7 @@ const path = require("path")
6
6
  class Git {
7
7
  async install(req, ondata) {
8
8
  await this.kernel.bin.exec({
9
- message: "conda install --no-shortcuts -y -c conda-forge git git-lfs --debug",
9
+ message: "conda install --no-shortcuts -y -c conda-forge git git-lfs",
10
10
  conda: {
11
11
  name: "base",
12
12
  activate: "minimal"
@@ -1,7 +1,7 @@
1
1
  class Huggingface {
2
2
  async install(req, ondata) {
3
3
  await this.kernel.bin.exec({
4
- message: "conda install -y -c conda-forge huggingface_hub --debug",
4
+ message: "conda install -y -c conda-forge huggingface_hub",
5
5
  conda: {
6
6
  name: "base",
7
7
  activate: "minimal"
@@ -1,10 +1,10 @@
1
1
  class LLVM {
2
2
  async install(req, ondata) {
3
3
  if (this.kernel.platform === 'darwin') {
4
- await bin.exec({ message: "brew install llvm" }, ondata)
4
+ await bin.exec({ conda: { skip: true }, message: "brew install llvm" }, ondata)
5
5
  } else {
6
6
  await bin.exec({
7
- message: "conda install -y -c conda-forge llvm --debug",
7
+ message: "conda install -y -c conda-forge llvm",
8
8
  conda: {
9
9
  name: "base",
10
10
  activate: "minimal"
@@ -6,7 +6,7 @@ class Node {
6
6
  async install(req, ondata) {
7
7
  await this.kernel.bin.exec({
8
8
  //message: "conda install -y nodejs=22.12.0 -c conda-forge"
9
- message: "conda install -y nodejs=20.17.0 -c conda-forge --debug",
9
+ message: "conda install -y nodejs=20.17.0 -c conda-forge",
10
10
  conda: {
11
11
  name: "base",
12
12
  activate: "minimal"
package/kernel/bin/uv.js CHANGED
@@ -5,7 +5,7 @@ const decompress = require('decompress');
5
5
  class UV {
6
6
  async install(req, ondata) {
7
7
  await this.kernel.bin.exec({
8
- message: "conda install -y -c conda-forge uv --debug",
8
+ message: "conda install -y -c conda-forge uv",
9
9
  conda: {
10
10
  name: "base",
11
11
  activate: "minimal"
package/kernel/bin/zip.js CHANGED
@@ -2,9 +2,9 @@ class Zip {
2
2
  async install(req, ondata) {
3
3
  let cmd
4
4
  if (this.kernel.platform === 'win32') {
5
- cmd = "conda install -y -c conda-forge 7zip --debug"
5
+ cmd = "conda install -y -c conda-forge 7zip"
6
6
  } else {
7
- cmd = "conda install -y -c conda-forge p7zip --debug"
7
+ cmd = "conda install -y -c conda-forge p7zip"
8
8
  }
9
9
  await this.kernel.bin.exec({
10
10
  message: cmd,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.71",
3
+ "version": "3.2.72",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {