Changeset 27236 in osm for applications/editors


Ignore:
Timestamp:
2011-12-14T17:08:29+01:00 (13 years ago)
Author:
stoecker
Message:

don't overwrite

File:
1 edited

Legend:

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

    r27235 r27236  
    382382SetShellVarContext current
    383383!include LogicLib.nsh
     384IfFileExists "$APPDATA\JOSM\preferences.xml" settings_exists
    384385FileOpen $R0 "$APPDATA\JOSM\preferences.xml" w
    385386FileWrite $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>"
    386387FileClose $R0
     388settings_exists:
    387389
    388390SectionEnd
Note: See TracChangeset for help on using the changeset viewer.