From c0b8e85f80e48ccdb889d67bbb225c47e0cfa9e5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 4 Jan 2015 19:37:21 +0100 Subject: Applying slightly modified patch from jnqnfe to show correct win32-loader ico file on windows (Closes: #772781). --- scripts/build/binary_win32-loader | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'scripts') diff --git a/scripts/build/binary_win32-loader b/scripts/build/binary_win32-loader index 401144687..a91968161 100755 --- a/scripts/build/binary_win32-loader +++ b/scripts/build/binary_win32-loader @@ -43,6 +43,20 @@ Check_lockfile .lock # Creating lock file Create_lockfile .lock +case "${LB_MODE}" in + progress-linux) + RUN_LABEL="Run Progress Linux" + ;; + + ubuntu) + RUN_LABEL="Run Ubuntu" + ;; + + *) + RUN_LABEL="Run Debian GNU/Linux" + ;; +esac + case "${LB_ARCHITECTURES}" in amd64|i386) if [ "${LB_BUILD_WITH_CHROOT}" = "true" ] @@ -69,6 +83,13 @@ case "${LB_ARCHITECTURES}" in cat >> binary/autorun.inf << EOF [autorun] open=setup.exe +icon=setup.exe,0 +label=${RUN_LABEL} + +[Content] +MusicFiles=false +PictureFiles=false +VideoFiles=false EOF if [ "${LB_DEBIAN_INSTALLER}" != "false" ] -- cgit v1.2.3