mirror of
https://github.com/TangentFoxy/LovePackaging.git
synced 2024-11-26 10:44:21 +00:00
fixed?
This commit is contained in:
parent
5f06fc4aa9
commit
fe5061b9f3
31
build
31
build
@ -45,29 +45,31 @@ fi
|
||||
|
||||
echo "Building $packageName (version $version)... (win32 zip)"
|
||||
cat $win32Dir/love-0.9.1-win32/love.exe $outputDir/$packageName-$version.love > $win32Dir/$packageName.exe
|
||||
#zip -r $outputDir/$packageName-$version_win32.zip $win32Dir/$packageName.exe $win32Dir/love-0.9.1-win32/*.dll $win32Dir/love-0.9.1-win32/license.txt $includes
|
||||
#zip -r $outputDir/$packageName-${version}_win32.zip $win32Dir/$packageName.exe $win32Dir/love-0.9.1-win32/*.dll $win32Dir/love-0.9.1-win32/license.txt $includes
|
||||
#cd $originalDir
|
||||
cd $win32Dir
|
||||
zip -r $outputDir/$packageName-$version_win32.zip ./$packageName.exe
|
||||
zip -r $outputDir/$packageName-${version}_win32.zip ./$packageName.exe
|
||||
cd ./love-0.9.1-win32
|
||||
zip -r $outputDir/$packageName-$version_win32.zip ./*.dll
|
||||
zip -r $outputDir/$packageName-$version_win32.zip ./license.txt
|
||||
zip -r $outputDir/$packageName-${version}_win32.zip ./*.dll
|
||||
cp ./license.txt ./LOVE-license.txt
|
||||
zip -r $outputDir/$packageName-${version}_win32.zip ./LOVE-license.txt
|
||||
#cd $originalDir
|
||||
cd $includes
|
||||
zip -r $outputDir/$packageName-$version_win32.zip ./*
|
||||
zip -r $outputDir/$packageName-${version}_win32.zip ./*
|
||||
|
||||
echo "Building $packageName (version $version)... (win64 zip)"
|
||||
cat $win64Dir/love-0.9.1-win64/love.exe $outputDir/$packageName-$version.love > $win64Dir/$packageName.exe
|
||||
#zip -r $outputDir/$packageName-$version_win64.zip $win64Dir/$packageName.exe $win64Dir/love-0.9.1-win64/*.dll $win64Dir/love-0.9.1-win64/license.txt $includes
|
||||
#zip -r $outputDir/$packageName-${version}_win64.zip $win64Dir/$packageName.exe $win64Dir/love-0.9.1-win64/*.dll $win64Dir/love-0.9.1-win64/license.txt $includes
|
||||
#cd $originalDir
|
||||
cd $win64Dir
|
||||
zip -r $outputDir/$packageName-$version_win64.zip ./$packageName.exe
|
||||
zip -r $outputDir/$packageName-${version}_win64.zip ./$packageName.exe
|
||||
cd ./love-0.9.1-win64
|
||||
zip -r $outputDir/$packageName-$version_win64.zip ./*.dll
|
||||
zip -r $outputDir/$packageName-$version_win64.zip ./license.txt
|
||||
zip -r $outputDir/$packageName-${version}_win64.zip ./*.dll
|
||||
cp ./license.txt ./LOVE-license.txt
|
||||
zip -r $outputDir/$packageName-${version}_win64.zip ./LOVE-license.txt
|
||||
#cd $originalDir
|
||||
cd $includes
|
||||
zip -r $outputDir/$packageName-$version_win64.zip ./*
|
||||
zip -r $outputDir/$packageName-${version}_win64.zip ./*
|
||||
|
||||
if [ $macInfoPlistFixed = true ]; then
|
||||
echo "Building $packageName (version $version)... (OS X zip)"
|
||||
@ -76,15 +78,16 @@ if [ $macInfoPlistFixed = true ]; then
|
||||
fi
|
||||
cp $outputDir/$packageName-$version.love $osx10Dir/love.app/Contents/Resources/$packageName.love
|
||||
cp $originalDir/Info.plist $osx10Dir/love.app/Contents/Info.plist
|
||||
#zip -r $outputDir/$packageName-$version_osx.zip $osx10Dir/love.app $includes
|
||||
#zip -r $outputDir/$packageName-${version}_osx.zip $osx10Dir/love.app $includes
|
||||
#cd $originalDir
|
||||
cd $osx10Dir
|
||||
zip -r $outputDir/$packageName-$version_osx.zip ./love.app
|
||||
zip -r $outputDir/$packageName-${version}_osx.zip ./love.app
|
||||
#cd $originalDir
|
||||
cd $includes
|
||||
zip -r $outputDir/$packageName-$version_osx.zip ./*
|
||||
zip -r $outputDir/$packageName-${version}_osx.zip ./*
|
||||
else
|
||||
echo "WARN: Mac packaging disabled."
|
||||
echo "See README.md for information."
|
||||
fi
|
||||
|
||||
echo "Build complete. Unless there are errors above. Check your files."
|
||||
echo "Build complete. Unless there are errors above. Double check your files."
|
||||
|
Loading…
Reference in New Issue
Block a user