|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
VERSION="Multitroid-13"
|
|
|
|
|
VERSION="multitroid-13"
|
|
|
|
|
OUTPUT="am2r_"${VERSION}
|
|
|
|
|
INPUT=""
|
|
|
|
|
|
|
|
|
|
@ -49,10 +49,11 @@ svn export https://github.com/Miepee/AM2R-Autopatcher-Android/trunk/data
|
|
|
|
|
|
|
|
|
|
#download multitroid mod
|
|
|
|
|
#check this for more info: https://gist.github.com/steinwaywhw/a4cd19cda655b8249d908261a62687f8
|
|
|
|
|
echo "Downloading Multitroid..."
|
|
|
|
|
curl -s https://api.github.com/repos/lassiterm/AM2R-Multitroid/releases/latest | grep "browser_download_url.*win.zip" | cut -d : -f 2,3 | tr -d \" | wget -O multitroid.zip -qi -
|
|
|
|
|
|
|
|
|
|
#unzip into data/
|
|
|
|
|
unzip -o multitroid.zip -d data
|
|
|
|
|
unzip -q -o multitroid.zip -d data
|
|
|
|
|
|
|
|
|
|
#clean up the unecessary files
|
|
|
|
|
rm -rf data/AM2R.xdelta data/data.xdelta data/profile.xml data/files_to_copy/mods/ data/files_to_copy/lang/headers/
|
|
|
|
|
|