mirror of
https://github.com/TangentFoxy/LovePackaging.git
synced 2024-11-09 09:34:22 +00:00
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:
parent
b801495dc7
commit
2370c406eb
4
build
4
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"
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user