newpipe-test/clone.sh

17 lines
444 B
Bash
Raw Normal View History

2023-02-16 06:28:58 +00:00
# Get release 0.25.0
TAG_1="0.25.0"
2023-02-16 06:35:30 +00:00
wget "https://github.com/TeamNewPipe/NewPipe/archive/refs/tags/v$TAG_1.zip" -O "np.zip"
2023-02-16 06:28:58 +00:00
# Get Commit "7e793c1"
TAG_2="7e793c11aec46358ccbfd8bcfcf521105f4f093a"
2023-02-16 06:35:30 +00:00
wget "https://github.com/TeamNewPipe/NewPipeExtractor/archive/$TAG_2.zip" -O "npe.zip"
2023-02-16 06:28:58 +00:00
# unzip
unzip "np.zip"
unzip "npe.zip"
# remove zip
rm "np.zip" "npe.zip"
# move
mv "NewPipe-$TAG_1" "NewPipe"
mv "NewPipeExtractor-$TAG_2" "NewPipeExtractor"