From 78233a50ce94251f74f5d695de05c8e25a7ebe75 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Wed, 27 Oct 2021 15:45:33 +0100 Subject: [PATCH] Fallback to macrecovery from Quickemu project --- quickget | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/quickget b/quickget index cc9c234..00cd674 100755 --- a/quickget +++ b/quickget @@ -778,13 +778,12 @@ function get_macos() { elif [ -x /usr/bin/macrecovery ]; then MACRECOVERY="/usr/bin/macrecovery" else - web_get "https://raw.githubusercontent.com/acidanthera/OpenCorePkg/master/Utilities/macrecovery/macrecovery.py" "${HOME}/.quickemu" - MACRECOVERY="python3 ${HOME}/.quickemu/macrecovery.py" - sed -i 's/\/env python3/g' "${MACRECOVERY}" + web_get "https://raw.githubusercontent.com/wimpysworld/quickemu/master/macrecovery" "${HOME}/.quickemu" + MACRECOVERY="python3 ${HOME}/.quickemu/macrecovery" fi if [ -z "${MACRECOVERY}" ]; then - echo "ERROR! Can not find a usable macrecovery.py." + echo "ERROR! Can not find a usable macrecovery." exit 1 fi