diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..b5bf63e --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ +# To build, place the IPA file in the project's root directory, then run `./build.sh` +make package IPA=$(pwd)*.ipa FINALPACKAGE=1 diff --git a/buildapp.sh b/buildapp.sh deleted file mode 100644 index 086bfc3..0000000 --- a/buildapp.sh +++ /dev/null @@ -1,19 +0,0 @@ -read -p $'\e[34m==> \e[1;39mPath to the decrypted YouTube.ipa or YouTube.app: ' PATHTOYT -PATHTOYT="$(echo $PATHTOYT | tr -d "'")" -if [[ "$PATHTOYT" != /* ]]; then - PATHTOYT="./$PATHTOYT" -fi -if [[ ! -f "$PATHTOYT" ]]; then - echo "$PATHTOYT doesn't exist" - exit 1 -fi -act --container-options "-v $PATHTOYT:$(pwd)/YouTube.ipa" -if [[ $? -eq 0 ]]; then - mkdir -p packages - cp artifacts/*/*/* packages - gzip -S .gz__ -d packages/*.gz__ - open packages - echo "\033[0;32m==> \033[1;39mSHASUM256: $(shasum -a 256 packages/*.ipa)" -else - echo "\033[0;31m==> \033[1;39mFailed building uYouPlus" -fi