* Updated to Inno Setup 6 * Updated translation files for the installer * 64-bit version now to be installed in the standard "Program Files" folder instead of "Program Files (x86)" as before Current 64bit users are recommended to uninstall previous version of TuxPaint before updating to 0.9.27. * Disabled start menu shortcut to outdated translations for readme.html. * Added language specification to start menu shorcuts for which translation is supported both for the web site and installer.
28 lines
694 B
Bash
28 lines
694 B
Bash
#!/bin/bash
|
|
|
|
echo -n "Checking host environment ... "
|
|
sysname=`uname -s`
|
|
if echo $sysname | grep MINGW64; then
|
|
arch=x86_64
|
|
elif echo $sysname | grep MINGW32; then
|
|
arch=i686
|
|
else
|
|
exit
|
|
fi
|
|
|
|
echo "Building installer ... "
|
|
result=`/C/Program\ Files\ \(x86\)/Inno\ Setup\ 6/ISCC tuxpaint.iss | grep installer.exe`
|
|
if [ "x$result" != "x" ]; then
|
|
installer=`basename $result`
|
|
fi
|
|
rename windows-installer windows-$arch-installer $installer
|
|
|
|
echo "Building portable zip archive ... "
|
|
zip=`echo $installer | sed 's/installer.exe//'`$arch.zip
|
|
if [ -d TuxPaint ]; then
|
|
rm -rf TuxPaint
|
|
fi
|
|
cp -a bdist TuxPaint
|
|
cp -a libdocs TuxPaint/docs/
|
|
zip -qr -9 $zip TuxPaint
|
|
cd ..
|