Add files via upload

This commit is contained in:
LAbyOne 2021-05-06 15:06:57 +02:00 committed by GitHub
parent 9adfb3e3f4
commit e5682491c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

101
buildme
View File

@ -130,16 +130,6 @@ else
fi
}
buildCPV() {
if [[ -d "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator ]]; then
rm -Rf "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator
fi
mkdir -p "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator
cd "${CLOVERROOT}"/Xcode/CloverConfigPlistValidator
xcodebuild -project ./CloverConfigPlistValidator.xcodeproj -quiet CONFIGURATION_BUILD_DIR="${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator
rm -r "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator/*.dSYM && open "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator
}
buildCCPV() {
if [[ -d "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator ]]; then
rm -Rf "${CLOVERROOT}"/CloverPackage/CloverConfigPlistValidator
@ -276,6 +266,84 @@ cd "${CLOVERROOT}"/BaseTools
make clean
}
## Clover Utilities
buildCPV() {
if [[ ! -d /Applications/CloverUtils/CloverConfigPlistValidator ]]; then
mkdir -p /Applications/CloverUtils/CloverConfigPlistValidator
fi
cd "${CLOVERROOT}"/Xcode/CloverConfigPlistValidator
xcodebuild -project ./CloverConfigPlistValidator.xcodeproj -quiet CONFIGURATION_BUILD_DIR=/Applications/CloverUtils/CloverConfigPlistValidator
rm -r /Applications/CloverUtils/CloverConfigPlistValidator/*.dSYM
chmod a+x /Applications/CloverUtils/CloverConfigPlistValidator/CloverConfigPlistValidator && open /Applications/CloverUtils/CloverConfigPlistValidator
}
X64TestNewParser() {
if [[ ! -d /Applications/CloverUtils/X64TestNewParser ]]; then
mkdir -p /Applications/CloverUtils/X64TestNewParser
fi
curl -sLq https://github.com/jief666/CloverCommits/raw/master/CloverX64TestNewParser > /Applications/CloverUtils/X64TestNewParser/X64TestNewParser
curl -sLq https://github.com/jief666/CloverCommits/raw/master/libgcc_s.1.dylib > /Applications/CloverUtils/X64TestNewParser/libgcc_s.1.dylib
curl -sLq https://github.com/jief666/CloverCommits/raw/master/libstdc%2B%2B.6.dylib > /Applications/CloverUtils/X64TestNewParser/libstdc++.6.dylib
chmod a+x /Applications/CloverUtils/X64TestNewParser/X64TestNewParser && open /Applications/CloverUtils/X64TestNewParser
}
BootLoaderChooser() {
if [[ ! -d /Applications/CloverUtils/BootLoaderChooser ]]; then
mkdir -p /Applications/CloverUtils/BootLoaderChooser
fi
curl -sLq https://github.com/jief666/BootloaderChooser/releases/download/0.5/BootX64.efi > /Applications/CloverUtils/BootLoaderChooser/BootX64.efi
chmod 775 /Applications/CloverUtils/BootLoaderChooser/BootX64.efi && open /Applications/CloverUtils/BootLoaderChooser
}
Utilities() {
echo
echo '-----------------------------------------------------------------------'
echo
echo
echo '-------------------------- Clover Utilities ---------------------------'
echo
echo
echo '-----------------------------------------------------------------------'
echo && echo
echo && echo
echo && echo
echo && echo
echo && echo
echo && echo
echo
PS3='Please enter your choice: '
options=( 'build CloverConfigPlistValidator'
'Get X64TestNewParser'
'Get BootLoaderChooser'
'back to main')
select opt in "${options[@]}"
do
case $opt in
"build CloverConfigPlistValidator")
buildCPV
break
;;
"Get X64TestNewParser")
X64TestNewParser
break
;;
"Get BootLoaderChooser")
BootLoaderChooser
break
;;
"back to main")
menu
break
;;
*)
echo "invalid option $REPLY"
break
;;
esac
done
Utilities
}
menu() {
echo
echo '------------------------------------------------------------------------'
@ -298,7 +366,6 @@ options=( 'build Clover'
'make app (with Clover)'
'make iso'
'build all'
'build CloverConfigPlistValidator'
'test build (no autogen, no boot files)'
'status'
'update Clover'
@ -306,6 +373,7 @@ options=( 'build Clover'
'open CloverV2/EFI/CLOVER directory'
'update Clover (reset changes)'
'clean BaseTools'
'Clover Utilities'
'quit')
select opt in "${options[@]}"
@ -344,10 +412,6 @@ do
buildApp
break
;;
"build CloverConfigPlistValidator")
buildCPV
break
;;
"test build (no autogen, no boot files)")
buildCloverTest
break
@ -389,6 +453,13 @@ do
fi
break
;;
"Clover Utilities")
if [[ ! -d /Applications/CloverUtils ]]; then
mkdir -p /Applications/CloverUtils
fi
Utilities
break
;;
"quit")
exit 0
;;