Commits

Meikel Brandmeyer  committed 23d060a

Removed trailing whitespace

  • Participants
  • Parent commits b509e67

Comments (0)

Files changed (1)

File installers/windows.diff

 +; The default installation directory
 +InstallDir $PROGRAMFILES\VimClojureBox
 +
-+; Registry key to check for directory (so if you install again, it will 
++; Registry key to check for directory (so if you install again, it will
 +; overwrite the old one automatically)
 +InstallDirRegKey HKLM "Software\VimClojureBox" "Install_Dir"
 +
 +Section "VimClojureBox (required)"
 +
 +  SectionIn RO
-+  
++
 +  ; Set output path to the installation directory.
 +  CreateDirectory "$INSTDIR"
 +  SetOutPath $INSTDIR
 +
 +  ; Write the installation path into the registry
 +  WriteRegStr HKLM SOFTWARE\VimClojureBox "Install_Dir" "$INSTDIR"
-+  
++
 +  ; Write the uninstall keys for Windows
 +  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VimClojureBox" "DisplayName" "VimClojureBox"
 +  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VimClojureBox" "UninstallString" '"$INSTDIR\uninstall.exe"'
 +  FileWrite "$0" "for %%I IN ($\"$INSTDIR\jars\*.jar$\") DO SET CP=!CP!;%%~fI$\r$\n"
 +  FileWrite "$0" "java -cp $\"%CP%$\" com.martiansoftware.nailgun.NGServer 127.0.0.1 %1 %2 %3 %4 %5 %6 %7 %8 %9$\r$\n"
 +  FileClose "$0"
-+  
++
 +  ; Set output path to the vimfiles directory in the user's home directory.
 +  ; This is where VIM plugins should be installed.
 +  ReadEnvStr $R0 "HOMEDRIVE"
 +  CreateDirectory "$SMPROGRAMS\VimClojureBox"
 +  CreateShortCut "$SMPROGRAMS\VimClojureBox\Clojure REPL.lnk" "$INSTDIR\bin\clj.bat" "" "$INSTDIR\bin\clj.bat" 0
 +  CreateShortCut "$SMPROGRAMS\VimClojureBox\Start Nailgun Server.lnk" "$INSTDIR\bin\ng-server.bat" "" "$INSTDIR\bin\ng-server.bat" 0
-+  
++
 +SectionEnd
 +
 +;--------------------------------
 +; Uninstaller
 +
 +Section "Uninstall"
-+  
++
 +  ; Remove registry keys
 +  DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VimClojureBox"
 +  DeleteRegKey HKLM SOFTWARE\VimClojureBox
 +  Delete "$SMPROGRAMS\VimClojureBox\*.*"
 +
 +  ; Remove bin dir from PATH
-+  ; ${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR\bin"          
++  ; ${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR\bin"
 +
 +  ; Remove directories used
 +  RMDir /r "$SMPROGRAMS\VimClojureBox"