From 90024a03917842b43b8ebb9c2ba17ce50b38a149 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(+) diff --git a/scripts/build/binary_win32-loader b/scripts/build/binary_win32-loader index 7855110f7..4d37c9e1f 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