pinokiod 3.2.62 → 3.2.64

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.
@@ -20,6 +20,7 @@ class Brew {
20
20
 
21
21
  if (this.kernel.platform === "darwin") {
22
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) })
23
24
 
24
25
  let sh_path = path.resolve(this.kernel.homedir, "xcode.sh")
25
26
  let src_path = path.resolve(__dirname, "xcode.sh")
@@ -344,8 +344,9 @@ class Bin {
344
344
  let e = await this.kernel.bin.exists("homebrew")
345
345
  let { stdout }= await this.kernel.bin.exec({ message: "xcode-select -p" }, (stream) => { })
346
346
  let e2 = /(.*Library.*Developer.*CommandLineTools.*|.*Xcode.*Developer.*)/gi.test(stdout)
347
+ let e3 = await this.kernel.exists("/Library/Developer/CommandLineTools")
347
348
  console.log({ e, e2, stdout })
348
- this.brew_installed = e && e2
349
+ this.brew_installed = e && e2 && e3
349
350
 
350
351
  }
351
352
 
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash
2
2
 
3
3
  # Trigger the installation
4
- xcode-select --install
4
+ #xcode-select --install
5
5
 
6
6
  # Wait for the "Install Command Line Developer Tools" process to start
7
7
  echo "Waiting for the installation dialog to be confirmed..."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.62",
3
+ "version": "3.2.64",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {