mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Fallback to macrecovery from Quickemu project
This commit is contained in:
parent
5fd8271a79
commit
78233a50ce
1 changed files with 3 additions and 4 deletions
7
quickget
7
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 python\>/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
|
||||
|
||||
|
|
Loading…
Reference in a new issue