浏览代码

pseudo try firefox before IE (merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37529 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 16 年之前
父节点
当前提交
b322635dc0
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      mswindows/GRASS-Installer.nsi

+ 5 - 0
mswindows/GRASS-Installer.nsi

@@ -557,7 +557,12 @@ Section "GRASS" SecGRASS
 	FileWrite $0 'set PATH=%GRASSDIR%\tcl-tk\bin;%GRASSDIR%\sqlite\bin;%GRASSDIR%\gpsbabel;%PATH%$\r$\n'
 	FileWrite $0 '$\r$\n'
 	FileWrite $0 'rem Set Path to MSIE web browser$\r$\n'	
+	; FIXME
+	; ${If} exist %PROGRAMFILES%/Mozilla Firefox/firefox.exe
+	;FileWrite $0 'set GRASS_HTML_BROWSER=%PROGRAMFILES%/Mozilla Firefox/firefox.exe$\r$\n'
+	; ${Else}
 	FileWrite $0 'set GRASS_HTML_BROWSER=%PROGRAMFILES%/Internet Explorer/iexplore.exe$\r$\n'
+	; ${EndIf}
 	FileWrite $0 '$\r$\n'
 	FileWrite $0 'rem Path to the proj files (notably the epsg projection list)$\r$\n'	
 	FileWrite $0 'set GRASS_PROJSHARE=%GRASSDIR%\proj$\r$\n'