added capability to use custom exes

This is so you can modify their info/icons using something like Resource
Hacker
This commit is contained in:
Paul Liverman 2015-02-09 10:54:28 -08:00
parent b801495dc7
commit 2370c406eb
2 changed files with 7 additions and 2 deletions

4
build
View File

@ -98,7 +98,7 @@ fi
echo "Building $packageName (version $version)... (win32 zip)" echo "Building $packageName (version $version)... (win32 zip)"
# EXE with ZIP at end # EXE with ZIP at end
cat "$win32Dir/love-0.9.1-win32/love.exe" "$outputDir/$packageName-$version.love" > "$win32Dir/$packageName.exe" cat "$win32exe" "$outputDir/$packageName-$version.love" > "$win32Dir/$packageName.exe"
cd "$win32Dir" cd "$win32Dir"
# ZIP up the EXE # ZIP up the EXE
zip -r -X -q "$outputDir/$packageName-${version}_win32.zip" "./$packageName.exe" zip -r -X -q "$outputDir/$packageName-${version}_win32.zip" "./$packageName.exe"
@ -115,7 +115,7 @@ echo " Done."
echo "Building $packageName (version $version)... (win64 zip)" echo "Building $packageName (version $version)... (win64 zip)"
# EXE with ZIP at end # EXE with ZIP at end
cat "$win64Dir/love-0.9.1-win64/love.exe" "$outputDir/$packageName-$version.love" > "$win64Dir/$packageName.exe" cat "$win64exe" "$outputDir/$packageName-$version.love" > "$win64Dir/$packageName.exe"
cd "$win64Dir" cd "$win64Dir"
# ZIP up the EXE # ZIP up the EXE
zip -r -X -q "$outputDir/$packageName-${version}_win64.zip" "./$packageName.exe" zip -r -X -q "$outputDir/$packageName-${version}_win64.zip" "./$packageName.exe"

View File

@ -26,6 +26,11 @@ win32Dir="$outputDir/win32src"
win64Dir="$outputDir/win64src" win64Dir="$outputDir/win64src"
osx10Dir="$outputDir/osx10src" osx10Dir="$outputDir/osx10src"
# Modified love executables (optional)
# (The default values are where the default exe's will be extracted)
win32exe="$win32Dir/love-0.9.1-win32/love.exe"
win64exe="$win64Dir/love-0.9.1-win64/love.exe"
# Remove old packages? # Remove old packages?
removeOld=false removeOld=false