Updated package.sh to fit new directory structure.

This commit is contained in:
Faerbit 2015-02-15 11:20:03 +01:00
parent e88ff9f1ac
commit 243d76ab5b

View File

@ -28,11 +28,7 @@ rc=$?
if [[ $rc == 0 ]]
then
mkdir "MarbleGame_${platform^}"
cp -r binaries Levels Shader "MarbleGame_${platform^}"
cp -r binaries data "MarbleGame_${platform^}"
zip -r "MarbleGame_${platform^}.zip" "MarbleGame_${platform^}"
if hash megacmd 2>/dev/null && [[ "$2" == "mega" ]]
then
megacmd sync "MarbleGame_${platform^}.zip" mega:/GameBuilds/
fi
rm -rf "MarbleGame_${platform^}"
fi