mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 07:41:59 +00:00
Rename buildapp.sh to build.sh
This commit is contained in:
parent
11dd2111bd
commit
322a2023d9
2 changed files with 2 additions and 19 deletions
2
build.sh
Normal file
2
build.sh
Normal file
|
|
@ -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
|
||||||
19
buildapp.sh
19
buildapp.sh
|
|
@ -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
|
|
||||||
Loading…
Reference in a new issue