Made Mega upload optional.
This commit is contained in:
parent
1d3ec46893
commit
85be96d302
@ -30,7 +30,7 @@ then
|
||||
mkdir "MarbleGame_${platform^}"
|
||||
cp -r binaries Levels Shader "MarbleGame_${platform^}"
|
||||
zip -r "MarbleGame_${platform^}.zip" "MarbleGame_${platform^}"
|
||||
if hash megacmd 2>/dev/null
|
||||
if [ hash megacmd 2>/dev/null && $2 == "mega" ]
|
||||
then
|
||||
megacmd -force put "MarbleGame_${platform^}.zip" mega:/GameBuilds/
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user