This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
echo "To prepare for later steps, download https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_15/Xcode_15.xip to ~/Downloads" | |
echo "Press enter once you've initiated this download." | |
vared -c dummy_var | |
if [ "$RESIZE_VM" = true ]; then | |
echo Y | diskutil repairDisk disk0 | |
diskutil apfs resizeContainer disk0s2 0 | |
fi |