The open source repository for the action RPG game in development by Sig Productions titled 'Adventures in Lestoria'! https://forums.lestoria.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
AdventuresInLestoria/distribute.sh

32 lines
1.3 KiB

git update-index --assume-unchanged "Adventures in Lestoria/packkey.cpp"
rm -R release
mkdir release
mkdir release/assets
mkdir "release/Adventures in Lestoria"
cp -R "Adventures in Lestoria/assets/Campaigns" release/assets
cp -R "Adventures in Lestoria/assets/config" release/assets
cp -R "Adventures in Lestoria/assets/maps" release/assets
cp -R "Adventures in Lestoria/assets/backgrounds" release/assets
rm -R release/assets/backgrounds/commercial_assets
rm -R release/assets/maps/commercial_assets
cp -R "Adventures in Lestoria/assets/monsters" release/assets
cp -R "Adventures in Lestoria/assets/music" release/assets
cp -R "Adventures in Lestoria/assets/npcs" release/assets
cp -R "Adventures in Lestoria/assets/sounds" release/assets
cp -R "Adventures in Lestoria/assets/themes" release/assets
cp -R "Adventures in Lestoria/assets/gamepack.pak" release/assets
cp -R "Adventures in Lestoria/assets/"*.ttf release/assets
cp -R "Adventures in Lestoria/controller_config" release
cp "Adventures in Lestoria/Adventures in Lestoria/"*.so "release/Adventures in Lestoria"
cp -R bin release
rm release/*.pdb
touch release/runGame.sh
echo "#!/bin/bash
if [ `bin/AdventuresInLestoria | wc -l` == 0 ]; then
echo \"Failed to Load through Steam Restarting without Steam API!\"
bin/AdventuresInLestoria nosteam
else
echo \"Success!\"
fi" > release/runGame.sh