source: osm/applications/editors/josm/nsis/josm-setup.sh@ 5229

Last change on this file since 5229 was 5214, checked in by ulf, 17 years ago

remove the need for a downloads dir, as we download nothing and get all files from the subversion directory directly

File size: 779 bytes
Line 
1#!/bin/sh
2
3## settings ##
4
5VERSION=latest
6
7PROGRAM_FILES="/cygdrive/c/Program Files"
8
9LAUNCH4J_XML="C:\Dokumente und Einstellungen\ulfl\Eigene Dateien\svn.openstreetmap.org\applications\editors\josm\nsis\launch4j.xml"
10
11
12### convert jar to exe ###
13# (makes attaching to file extensions a lot easier)
14# launch4j - http://launch4j.sourceforge.net/
15
16# delete old exe file first
17rm josm.exe
18"$PROGRAM_FILES/Launch4j/launch4jc.exe" "$LAUNCH4J_XML"
19# using a relative path still doesn't work with launch4j 3.0.0-pre2
20#"$PROGRAM_FILES/Launch4j/launch4jc.exe" ./launch4j.xml
21
22### create the installer exe ###
23# NSIS - http://nsis.sourceforge.net/Main_Page
24"$PROGRAM_FILES/nsis/makensis.exe" /DVERSION=$VERSION josm.nsi
25
26# delete the intermediate file, just to avoid confusion
27rm josm.exe
Note: See TracBrowser for help on using the repository browser.