diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-01-04 19:37:21 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-01-05 06:56:09 +0100 |
commit | c0b8e85f80e48ccdb889d67bbb225c47e0cfa9e5 (patch) | |
tree | 288bafc83e88ac2adc91c0e922e35f5d4b86497a /scripts | |
parent | 93ed4bb53a374aef860501600ddd7638f146fb81 (diff) | |
download | vyos-live-build-c0b8e85f80e48ccdb889d67bbb225c47e0cfa9e5.tar.gz vyos-live-build-c0b8e85f80e48ccdb889d67bbb225c47e0cfa9e5.zip |
Applying slightly modified patch from jnqnfe <jnqnfe@gmail.com> to show correct win32-loader ico file on windows (Closes: #772781).
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/binary_win32-loader | 21 |
1 files changed, 21 insertions, 0 deletions
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" ] |