Changeset 14186 in osm for applications/editors
- Timestamp:
- 2009-03-21T11:48:31+01:00 (16 years ago)
- Location:
- applications/editors/josm/nsis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/nsis/josm-setup-unix.sh
r11594 r14186 15 15 ## settings ## 16 16 LAUNCH4J="java -jar /usr/share/launch4j/launch4j.jar" 17 MAKENSIS=makensis 17 18 18 19 svncorerevision=`svnversion ../core` … … 51 52 # delete old exe file first 52 53 rm -f josm.exe 53 $LAUNCH4J ./launch4j.xml54 $LAUNCH4J "launch4j.xml" 54 55 55 56 if ! [ -s josm.exe ]; then … … 63 64 # NSIS - http://nsis.sourceforge.net/Main_Page 64 65 # apt-get install nsis 65 makensis-V2 -DVERSION=$VERSION josm.nsi66 $MAKENSIS -V2 -DVERSION=$VERSION josm.nsi 66 67 67 # delete the intermediate file, just to avoid confusion68 rm josm-intermediate.exe68 # keep the intermediate file, for debugging 69 rm -f josm-intermediate.exe 69 70 mv josm.exe josm-intermediate.exe -
applications/editors/josm/nsis/josm-setup.sh
r10636 r14186 14 14 15 15 ## settings ## 16 LAUNCH4J="java -jar /usr/share/launch4j/launch4j.jar" 16 LAUNCH4J="/cygdrive/c/Programme/Launch4j/launch4jc.exe" 17 MAKENSIS="/cygdrive/c/Programme/nsis/makensis.exe" 17 18 18 19 svncorerevision=`svnversion ../core` … … 20 21 svnrevision="$svncorerevision-$svnpluginsrevision" 21 22 22 export VERSION=latest 23 #export VERSION=custom-${svnrevision} 24 25 LAUNCH4J_XML="C:\Dokumente und Einstellungen\ulfl\Eigene Dateien\osm\svn.josm\nsis\launch4j.xml" 23 #export VERSION=latest 24 export VERSION=custom-${svnrevision} 26 25 27 26 echo "Creating Windows Installer for josm-$VERSION" … … 51 50 # (an exe file makes attaching to file extensions a lot easier) 52 51 # launch4j - http://launch4j.sourceforge.net/ 52 # delete old exe file first 53 rm -f josm.exe 54 $LAUNCH4J "launch4j.xml" 53 55 54 # delete old exe file first55 rm josm.exe56 "/cygdrive/c/Programme/Launch4j/launch4jc.exe" "$LAUNCH4J_XML"57 # using a relative path still doesn't work with launch4j 3.0.0-pre258 #"/cygdrive/c/Program Files/Launch4j/launch4jc.exe" ./launch4j.xml59 56 if ! [ -s josm.exe ]; then 60 57 echo "NO Josm File Created" … … 64 61 echo 65 62 echo "##################################################################" 66 echo "### create the installerexe with makensis"63 echo "### create the josm-installer-${VERSION}.exe with makensis" 67 64 # NSIS - http://nsis.sourceforge.net/Main_Page 68 "/cygdrive/c/Programme/nsis/makensis.exe" /DVERSION=$VERSION josm.nsi 65 # apt-get install nsis 66 $MAKENSIS -V2 -DVERSION=$VERSION josm.nsi 69 67 70 # delete the intermediate file, just to avoid confusion 71 rm josm.exe 68 # keep the intermediate file, for debugging 69 rm -f josm-intermediate.exe 70 mv josm.exe josm-intermediate.exe
Note:
See TracChangeset
for help on using the changeset viewer.