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

34 lines
1.4 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
rm -R release/assets/monsters/commercial_assets
cp -R "Adventures in Lestoria/assets/music" release/assets
rm -R release/assets/music/commercial_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/"*.so "release/Adventures in Lestoria"
cp -R bin release
rm release/*.pdb
touch release/runGame.sh
echo "#!/bin/bash
if [ \`bin/AdventuresInLestoria | wc -l\` -lt 20 ]; then
echo \"Failed to Load through Steam Restarting without Steam API!\"
bin/AdventuresInLestoria nosteam
else
echo \"Success!\"
fi" > release/runGame.sh