1
0
Fork 0
mirror of https://github.com/foxlet/macOS-Simple-KVM.git synced 2024-11-17 00:29:41 +01:00

Update setup.sh

This commit is contained in:
notAperson535 2022-02-01 16:05:02 -05:00 committed by GitHub
parent 2279b9bb88
commit cb5f0999c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,8 +4,17 @@ sudo apt-get install qemu-system qemu-utils python3 python3-pip -y # for Ubuntu
qemu-img create -f qcow2 macOS.qcow2 64G
./fetch-macOS-v2.py
python fetch-macOS.py
qemu-img convert BaseSystem.dmg -O raw BaseSystem.img
if [ -e BaseSystem.dmg ]
then
qemu-img convert BaseSystem.dmg -O raw BaseSystem.img
else
if [ -e RecoveryImage.dmg ]
then
qemu-img convert RecoveryImage.dmg -O raw BaseSystem.img
else
echo "macOS installer not found"
fi
sudo ./basic.sh