mirror of
https://github.com/TangentFoxy/LovePackaging.git
synced 2024-11-09 09:34:22 +00:00
more stuffs changed
This commit is contained in:
parent
d04611a764
commit
44d7237d6b
17
build
17
build
@ -31,30 +31,33 @@ if [ ! -r "$win32Dir/love-0.9.1-win32/love.exe" ]; then
|
|||||||
mkdir -p "$win32Dir"
|
mkdir -p "$win32Dir"
|
||||||
echo "Downloading win32src..."
|
echo "Downloading win32src..."
|
||||||
$download "$win32Dir/love32.zip" https://bitbucket.org/rude/love/downloads/love-0.9.1-win32.zip
|
$download "$win32Dir/love32.zip" https://bitbucket.org/rude/love/downloads/love-0.9.1-win32.zip
|
||||||
echo " Extracting win32src..."
|
echo " Done."
|
||||||
|
echo "Extracting win32src..."
|
||||||
unzip -q "$win32Dir/love32.zip" -d "$win32Dir"
|
unzip -q "$win32Dir/love32.zip" -d "$win32Dir"
|
||||||
echo " Done."
|
echo " Done."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -r "$win64Dir/love-0.9.1-win64/love.exe" ]; then
|
if [ ! -r "$win64Dir/love-0.9.1-win64/love.exe" ]; then
|
||||||
mkdir -p "$win64Dir"
|
mkdir -p "$win64Dir"
|
||||||
echo "Downloading win64src..."
|
echo "Downloading win64src..."
|
||||||
$download "$win64Dir/love64.zip" https://bitbucket.org/rude/love/downloads/love-0.9.1-win64.zip
|
$download "$win64Dir/love64.zip" https://bitbucket.org/rude/love/downloads/love-0.9.1-win64.zip
|
||||||
echo " Extracting win64src..."
|
echo " Done."
|
||||||
|
echo "Extracting win64src..."
|
||||||
unzip -q "$win64Dir/love64.zip" -d "$win64Dir"
|
unzip -q "$win64Dir/love64.zip" -d "$win64Dir"
|
||||||
echo " Done."
|
echo " Done."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "$osx10Dir/love.app" ]; then
|
if [ ! -d "$osx10Dir/love.app" ]; then
|
||||||
mkdir -p "$osx10Dir"
|
mkdir -p "$osx10Dir"
|
||||||
echo "Downloading osx10src..."
|
echo "Downloading osx10src..."
|
||||||
$download "$osx10Dir/loveOSX.zip" https://bitbucket.org/rude/love/downloads/love-0.9.1-macosx-x64.zip
|
$download "$osx10Dir/loveOSX.zip" https://bitbucket.org/rude/love/downloads/love-0.9.1-macosx-x64.zip
|
||||||
echo " Extracting osx10src..."
|
echo " Done."
|
||||||
|
echo "Extracting osx10src..."
|
||||||
unzip -q "$osx10Dir/loveOSX.zip" -d "$osx10Dir"
|
unzip -q "$osx10Dir/loveOSX.zip" -d "$osx10Dir"
|
||||||
# delete Mac crao (for some reason can't not unzip it *shrugs*)
|
# delete Mac crao (for some reason can't not unzip it *shrugs*)
|
||||||
rm -rf "$osx10Dir/__MACOSX"
|
rm -rf "$osx10Dir/__MACOSX"
|
||||||
# the Info.plist is overwritten each time the app is built, so it is not fixed here.
|
# the Info.plist is overwritten each time the app is built, so it is not fixed here.
|
||||||
echo " Done."
|
echo " Done."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# build executables and zip files for them
|
# build executables and zip files for them
|
||||||
@ -105,7 +108,6 @@ else
|
|||||||
echo " See README.md for information."
|
echo " See README.md for information."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
|
||||||
echo "Building $packageName (version $version)... (Linux zip)"
|
echo "Building $packageName (version $version)... (Linux zip)"
|
||||||
cd "$outputDir"
|
cd "$outputDir"
|
||||||
zip -r -X -q "./$packageName-${version}_linux.zip" "./$packageName-$version.love"
|
zip -r -X -q "./$packageName-${version}_linux.zip" "./$packageName-$version.love"
|
||||||
@ -115,5 +117,4 @@ cd "$includes"
|
|||||||
zip -r -X -q "$outputDir/$packageName-${version}_linux.zip" ./*
|
zip -r -X -q "$outputDir/$packageName-${version}_linux.zip" ./*
|
||||||
echo " Done."
|
echo " Done."
|
||||||
|
|
||||||
echo
|
|
||||||
echo "Builds complete. Unless there are errors above. Double check your files."
|
echo "Builds complete. Unless there are errors above. Double check your files."
|
||||||
|
@ -30,9 +30,9 @@ allowOverwrite=false
|
|||||||
autoNumberBuilds=false
|
autoNumberBuilds=false
|
||||||
|
|
||||||
# Use curl or wget?
|
# Use curl or wget?
|
||||||
# Comment out the first and uncomment the second to use wget instead of curl.
|
# Comment out one and..not the other...
|
||||||
download="curl -o"
|
#download="curl -o"
|
||||||
#download="wget --progress=bar:force -O"
|
download="wget --progress=bar:force -O"
|
||||||
|
|
||||||
# Only change this if you know what you're doing (Read the README.md file).
|
# Only change this if you know what you're doing (Read the README.md file).
|
||||||
macInfoPlistFixed=false
|
macInfoPlistFixed=false
|
||||||
|
Loading…
Reference in New Issue
Block a user