diff --git a/CHANGELOG.md b/CHANGELOG.md index 227a7f9..4ea2919 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ OpenCore Changelog ================== +#### v1.2.0 + +- Remove PVE/Kernel version from ```osx-setup``` menu; +- Add option to define disk size in creation virtual machine section of ```osx-setup```; +- Add script in tools, for create macOS Install ```ISO``` from genuine macOS Installer .app. + #### v1.1.1 - Fix logic of messages in 'Activate support for Windows 11 natively' option; diff --git a/setup b/setup index cf25c25..dc7be8a 100755 Binary files a/setup and b/setup differ diff --git a/tools/CREATE-ISO-macOS.command b/tools/CREATE-ISO-macOS.command new file mode 100755 index 0000000..72e3e06 --- /dev/null +++ b/tools/CREATE-ISO-macOS.command @@ -0,0 +1,34 @@ +#!/bin/bash +# +# Script: create-iso-macOS +# Goal: create "ISO" file for use in the Proxmox VE Environment +# +# Author: Gabriel Luchina +# https://luchina.com.br +# 20211116T2245 + +clear + +echo -e "\nAutomate script for create \"ISO\" file of macOS Install in Proxmox VE Environament" +echo -e "BY: https://luchina.com.br" +echo -e "SUPPORT: https://osx-proxmox.com" + +echo -n -e "\nPath to temporary files (work dir): " +read TEMPDIR + +echo -n -e "Path to macOS Installation (.app) file: " +read APPOSX + +echo " " + +## Core +cd ${TEMPDIR} > /dev/null 2> /dev/null +rm -rf macOS-install* > /dev/null 2> /dev/null +hdiutil create -o macOS-install -size 14g -layout GPTSPUD -fs HFS+J > /dev/null 2> /dev/null +hdiutil attach -noverify -mountpoint /Volumes/install_build macOS-install.dmg > /dev/null 2> /dev/null +sudo "${APPOSX}/Contents/Resources/createinstallmedia" --volume /Volumes/install_build --nointeraction +hdiutil detach -force "/Volumes/Install macOS"* > /dev/null 2> /dev/null && sleep 3s > /dev/null 2> /dev/null +hdiutil detach -force "/Volumes/Shared Support"* > /dev/null 2> /dev/null +mv macOS-install.dmg macOS-install.iso > /dev/null 2> /dev/null + +echo " "