From 2370c406eb884145a27fd859bbd4dcc15f8e8ad6 Mon Sep 17 00:00:00 2001 From: Paul Liverman Date: Mon, 9 Feb 2015 10:54:28 -0800 Subject: [PATCH] added capability to use custom exes This is so you can modify their info/icons using something like Resource Hacker --- build | 4 ++-- config.sh | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) 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