Changeset 27235 in osm


Ignore:
Timestamp:
2011-12-14T16:52:40+01:00 (13 years ago)
Author:
stoecker
Message:

try fixing windows installer

Location:
applications/editors/josm/nsis
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/nsis/josm.nsi

    r24717 r27235  
    66; If you get an error here, please update to at least NSIS 2.07!
    77SetCompressor /SOLID lzma
    8 
    9 ; work with JAVA ini strings
    10 !include "INIStrNS.nsh"
    118
    129!define DEST "josm"
     
    298295File "bookmarks"
    299296dont_overwrite_bookmarks:
    300 
    301 ; write reasonable defaults for some preferences
    302 ${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "laf" "com.sun.java.swing.plaf.windows.WindowsLookAndFeel"
    303297
    304298SectionEnd
     
    388382SetShellVarContext current
    389383!include LogicLib.nsh
    390 ${WriteINIStrNS} $R0 "$APPDATA\JOSM\preferences" "plugins" "openstreetbugs
    391 turnrestrictions"
     384FileOpen $R0 "$APPDATA\JOSM\preferences.xml" w
     385FileWrite $R0 "<?xml version='1.0' encoding='UTF-8'?><preferences xmlns='http://josm.openstreetmap.de/preferences-1.0' version='4660'><list key='plugins'><entry value='openstreetbugs'/><entry value='turnrestrictions'/></list></preferences>"
     386FileClose $R0
     387
    392388SectionEnd
    393389
Note: See TracChangeset for help on using the changeset viewer.