pinokiod 3.2.63 → 3.2.65
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 +2 -1
- package/kernel/bin/xcode.sh +1 -1
- package/package.json +1 -1
package/kernel/bin/index.js
CHANGED
|
@@ -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
|
|
package/kernel/bin/xcode.sh
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
#xcode-select --install
|
|
5
5
|
|
|
6
6
|
# Wait for the "Install Command Line Developer Tools" process to start
|
|
7
|
-
echo "Waiting for the installation dialog to be confirmed..."
|
|
7
|
+
echo ">>> Waiting for the installation dialog to be confirmed. Look for a dialog requesting the command line developer tools, and CLICK 'Install'..."
|
|
8
8
|
while ! pgrep "Install Command Line Developer Tools" > /dev/null; do
|
|
9
9
|
sleep 1
|
|
10
10
|
done
|