pinokiod 3.2.60 → 3.2.62

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.
@@ -19,6 +19,7 @@ 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) })
22
23
 
23
24
  let sh_path = path.resolve(this.kernel.homedir, "xcode.sh")
24
25
  let src_path = path.resolve(__dirname, "xcode.sh")
@@ -26,7 +27,7 @@ class Brew {
26
27
  let sh = await fs.promises.readFile(src_path, "utf8")
27
28
  console.log({ sh })
28
29
  await fs.promises.writeFile(sh_path, sh)
29
- await this.kernel.bin.exec({ sudo: true, message: "bash ./xcode.sh", path: this.kernel.homedir }, (stream) => { ondata(stream) })
30
+ await this.kernel.bin.exec({ message: "bash ./xcode.sh", path: this.kernel.homedir }, (stream) => { ondata(stream) })
30
31
 
31
32
  ondata({ raw: "installing xcode-select. please approve the xcode-select install dialog and install before proceeding...\r\n" })
32
33
  await this.kernel.bin.exec({ message: "xcode-select --install" }, (stream) => { ondata(stream) })
@@ -1,5 +1,4 @@
1
1
  #!/bin/bash
2
- rm -rf /Library/Developer/CommandLineTools
3
2
 
4
3
  # Trigger the installation
5
4
  xcode-select --install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.60",
3
+ "version": "3.2.62",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {