Skip to content

Instantly share code, notes, and snippets.

@ezdiy
Created September 13, 2017 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ezdiy/f68d5a7afbcdfe8b131da2e4f0f2dd05 to your computer and use it in GitHub Desktop.
Save ezdiy/f68d5a7afbcdfe8b131da2e4f0f2dd05 to your computer and use it in GitHub Desktop.
```
gir:~$ ^C
gir:~$ cat mkr
ver=`curl https://tsukiyo.me/AAU/botnet.php`
tdir=~/aau
src=/c/mega/aa2mini/aau
gitdir=~/AA2Unlimited
rm -rf $tdir aau.7z || exit 1
mkdir $tdir
cd $tdir
echo "return 'vvip-$ver'" > version.lua
cp -va $src/*.txt .
cp -va $src/install.bat .
cp -va $src/AAUnlimitedDll.dll .
cp -va $src/AAUnlimitedDll.pdb .
cp -va $src/init.lua .
cp -va $src/config.lua .
cp -va $src/mod .
cp -va $src/lib .
#rm -vrf `find . -name "*.pdb"`
rm -vrf `find . -name "*log*.txt"`
find . -name '*.dll' | grep -v win10fix | grep -v dxgi | while read n; do
true
#strip -s $n
#upx --lzma $n
done
cd ..
rm -rf aau.7z
7z a aau.7z aau
curl -F "f=@aau.7z" https://tsukiyo.me/AAU/botnet.php
echo
cd $gitdir
echo \`\`\`
git log --pretty=oneline --abbrev-commit | grep -v -i merge | head -10
echo \`\`\`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment