Remove sudo from script execution commands

This commit is contained in:
Statik DK Smoke 2025-09-08 11:35:18 -05:00 committed by GitHub
parent 974b4ed70f
commit 70da0fb303
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -118,7 +118,7 @@ cd "$INSTALL_DIR"
# Download macOS recovery image (automatically choose Sonoma - option 7) # Download macOS recovery image (automatically choose Sonoma - option 7)
echo "Downloading macOS recovery image (Sonoma - Recommended)..." echo "Downloading macOS recovery image (Sonoma - Recommended)..."
if [ -f "fetch-macOS-v2.py" ]; then if [ -f "fetch-macOS-v2.py" ]; then
echo "7" | python3 fetch-macOS-v2.py ./fetch-macOS-v2.py
else else
echo "Warning: fetch-macOS-v2.py not found, attempting manual download..." echo "Warning: fetch-macOS-v2.py not found, attempting manual download..."
# Fallback download URLs for macOS recovery images # Fallback download URLs for macOS recovery images
@ -217,7 +217,7 @@ read -p "Would you like to start the macOS VM now? (y/n): " -n 1 -r
echo echo
if [[ $REPLY =~ ^[Yy]$ ]]; then if [[ $REPLY =~ ^[Yy]$ ]]; then
echo "Starting macOS VM..." echo "Starting macOS VM..."
sudo ./OpenCore-Boot.sh ./OpenCore-Boot.sh
else else
echo "You can start the VM later by running:" echo "You can start the VM later by running:"
echo " cd $INSTALL_DIR && sudo ./OpenCore-Boot.sh" echo " cd $INSTALL_DIR && sudo ./OpenCore-Boot.sh"