Add files via upload

This commit is contained in:
LAbyOne 2021-05-06 19:56:37 +02:00 committed by GitHub
parent 3e23502997
commit 272eda9003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

45
buildme
View File

@ -268,31 +268,21 @@ make clean
## Clover Utilities ## Clover Utilities
buildCPV() { buildCPV() {
if [[ ! -d /Applications/CloverUtils/CloverConfigPlistValidator ]]; then if [[ ! -d $HOME/src/CloverUtils/CloverConfigPlistValidator ]]; then
mkdir -p /Applications/CloverUtils/CloverConfigPlistValidator mkdir -p $HOME/src/CloverUtils/CloverConfigPlistValidator
fi fi
cd "${CLOVERROOT}"/Xcode/CloverConfigPlistValidator cd "${CLOVERROOT}"/Xcode/CloverConfigPlistValidator
xcodebuild -project ./CloverConfigPlistValidator.xcodeproj -quiet CONFIGURATION_BUILD_DIR=/Applications/CloverUtils/CloverConfigPlistValidator xcodebuild -project ./CloverConfigPlistValidator.xcodeproj -quiet CONFIGURATION_BUILD_DIR=$HOME/src/CloverUtils/CloverConfigPlistValidator
rm -r /Applications/CloverUtils/CloverConfigPlistValidator/*.dSYM rm -r $HOME/src/CloverUtils/CloverConfigPlistValidator/*.dSYM
chmod a+x /Applications/CloverUtils/CloverConfigPlistValidator/CloverConfigPlistValidator && open /Applications/CloverUtils/CloverConfigPlistValidator chmod a+x $HOME/src/CloverUtils/CloverConfigPlistValidator/CloverConfigPlistValidator && open $HOME/src/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() { BootLoaderChooser() {
if [[ ! -d /Applications/CloverUtils/BootLoaderChooser ]]; then if [[ ! -d $HOME/src/CloverUtils/BootLoaderChooser ]]; then
mkdir -p /Applications/CloverUtils/BootLoaderChooser mkdir -p $HOME/src/CloverUtils/BootLoaderChooser
fi fi
curl -sLq https://github.com/jief666/BootloaderChooser/releases/download/0.5/BootX64.efi > /Applications/CloverUtils/BootLoaderChooser/BootX64.efi curl -sLq https://github.com/jief666/BootloaderChooser/releases/download/0.5/BootX64.efi > $HOME/src/CloverUtils/BootLoaderChooser/BootX64.efi
chmod 775 /Applications/CloverUtils/BootLoaderChooser/BootX64.efi && open /Applications/CloverUtils/BootLoaderChooser chmod 775 $HOME/src/CloverUtils/BootLoaderChooser/BootX64.efi && open $HOME/src/CloverUtils/BootLoaderChooser
} }
Utilities() { Utilities() {
@ -313,7 +303,6 @@ echo && echo
echo echo
PS3='Please enter your choice: ' PS3='Please enter your choice: '
options=( 'build CloverConfigPlistValidator' options=( 'build CloverConfigPlistValidator'
'Get X64TestNewParser'
'Get BootLoaderChooser' 'Get BootLoaderChooser'
'back to main') 'back to main')
select opt in "${options[@]}" select opt in "${options[@]}"
@ -323,10 +312,6 @@ select opt in "${options[@]}"
buildCPV buildCPV
break break
;; ;;
"Get X64TestNewParser")
X64TestNewParser
break
;;
"Get BootLoaderChooser") "Get BootLoaderChooser")
BootLoaderChooser BootLoaderChooser
break break
@ -388,8 +373,8 @@ do
break break
;; ;;
"make pkg") "make pkg")
buildCCPV buildCCPV
buildPkg buildPkg
break break
;; ;;
"make app") "make app")
@ -405,7 +390,7 @@ do
break break
;; ;;
"build all") "build all")
buildCCPV buildCCPV
buildClover buildClover
buildPkg buildPkg
buildIso buildIso
@ -454,8 +439,8 @@ do
break break
;; ;;
"Clover Utilities") "Clover Utilities")
if [[ ! -d /Applications/CloverUtils ]]; then if [[ ! -d $HOME/src/CloverUtils ]]; then
mkdir -p /Applications/CloverUtils mkdir -p $HOME/src/CloverUtils
fi fi
Utilities Utilities
break break