Changeset 27251 in osm for applications/editors


Ignore:
Timestamp:
2011-12-16T13:37:22+01:00 (13 years ago)
Author:
bastik
Message:

fix nsis to install only the selected plugins

File:
1 edited

Legend:

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

    r27246 r27251  
    2929XPStyle on
    3030
    31 
     31Var /GLOBAL plugins
    3232
    3333; ============================================================================
     
    295295SectionEnd
    296296
    297 
    298297SectionGroup $(JOSM_SEC_PLUGINS_GROUP) SecPluginsGroup
    299298
     
    304303SetOutPath $APPDATA\JOSM\plugins
    305304File "..\dist\openstreetbugs.jar"
     305StrCpy $plugins "$plugins<entry value='openstreetbugs'/>"
    306306SectionEnd
    307307
     
    312312SetOutPath $APPDATA\JOSM\plugins
    313313File "..\dist\turnrestrictions.jar"
     314StrCpy $plugins "$plugins<entry value='turnrestrictions'/>"
    314315SectionEnd
    315316
     
    382383IfFileExists "$APPDATA\JOSM\preferences.xml" settings_exists
    383384FileOpen $R0 "$APPDATA\JOSM\preferences.xml" w
    384 FileWrite $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>"
     385FileWrite $R0 "<?xml version='1.0' encoding='UTF-8'?><preferences xmlns='http://josm.openstreetmap.de/preferences-1.0' version='4660'><list key='plugins'>$plugins</list></preferences>"
    385386FileClose $R0
    386387settings_exists:
Note: See TracChangeset for help on using the changeset viewer.