mirror of
https://github.com/TangentFoxy/LovePackaging.git
synced 2024-11-09 09:34:22 +00:00
fix #22 (delete ZIP files after extraction)
Else they just waste space.
This commit is contained in:
parent
a54dd3fc58
commit
8932240591
9
build
9
build
@ -68,6 +68,9 @@ if [ ! -r "$win32Dir/love-0.9.1-win32/love.exe" ]; then
|
||||
echo "Extracting win32src..."
|
||||
unzip -q "$win32Dir/love32.zip" -d "$win32Dir"
|
||||
echo " Done."
|
||||
echo "Deleting ZIP file..."
|
||||
rm -f "$win32Dir/love32.zip"
|
||||
echo " Done."
|
||||
fi
|
||||
|
||||
if [ ! -r "$win64Dir/love-0.9.1-win64/love.exe" ]; then
|
||||
@ -78,6 +81,9 @@ if [ ! -r "$win64Dir/love-0.9.1-win64/love.exe" ]; then
|
||||
echo "Extracting win64src..."
|
||||
unzip -q "$win64Dir/love64.zip" -d "$win64Dir"
|
||||
echo " Done."
|
||||
echo "Deleting ZIP file..."
|
||||
rm -f "$win64Dir/love64.zip"
|
||||
echo " Done."
|
||||
fi
|
||||
|
||||
if [ ! -d "$osx10Dir/love.app" ]; then
|
||||
@ -92,6 +98,9 @@ if [ ! -d "$osx10Dir/love.app" ]; then
|
||||
# the Info.plist is generated each time a package is built, we don't need a copy here
|
||||
rm -f "$osx10Dir/love.app/Contents/Info.plist"
|
||||
echo " Done."
|
||||
echo "Deleting ZIP file..."
|
||||
rm -f "$osx10Dir/loveOSX.zip"
|
||||
echo " Done."
|
||||
fi
|
||||
|
||||
# build executables and zip files for them
|
||||
|
Loading…
Reference in New Issue
Block a user