diff --git a/build b/build index 87f94ef..4a11aff 100644 --- a/build +++ b/build @@ -98,7 +98,7 @@ fi echo "Building $packageName (version $version)... (win32 zip)" # 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" # ZIP up the 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)" # 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" # ZIP up the EXE zip -r -X -q "$outputDir/$packageName-${version}_win64.zip" "./$packageName.exe" diff --git a/config.sh b/config.sh index 61a7db9..7630e95 100644 --- a/config.sh +++ b/config.sh @@ -26,6 +26,11 @@ win32Dir="$outputDir/win32src" win64Dir="$outputDir/win64src" 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? removeOld=false