mirror of https://github.com/kholia/OSX-KVM.git
Remove sudo from script execution commands
This commit is contained in:
parent
974b4ed70f
commit
70da0fb303
|
@ -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,8 +217,8 @@ 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"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue