File: make_install_images.sh

package info (click to toggle)
putty 0.83-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,216 kB
  • sloc: ansic: 148,476; python: 8,466; perl: 1,830; makefile: 128; sh: 117
file content (22 lines) | stat: -rwxr-xr-x 784 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# Script to make the bitmap files that go into the PuTTY MSI installer.

set -e

# For convenience, allow this script to be run from the Windows
# subdirectory as well as the top level of the source tree.
if test -f installer.wxs -a ! -f putty.h -a -f ../putty.h; then
  cd ..
fi

convert -size 164x312 'gradient:blue-white' -distort SRT -90 -swirl 180 \
        \( icons/putty-48.png -geometry +28+24 \) -composite \
        \( icons/pscp-48.png -geometry +88+96 \) -composite \
        \( icons/puttygen-48.png -geometry +28+168 \) -composite \
        \( icons/pageant-48.png -geometry +88+240 \) -composite \
        windows/msidialog.bmp

convert -size 493x58 canvas:white \
        \( icons/putty-48.png -geometry +440+5 \) -composite \
        windows/msibanner.bmp