浏览代码

ticket https://trac.osgeo.org/grass/ticket/1419

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

+ 2 - 0
mswindows/GRASS-Installer.nsi

@@ -719,6 +719,8 @@ Section "GRASS" SecGRASS
 	${EndIf}
 	FileWrite $0 'call "%GISBASE%\etc\env.bat"$\r$\n'
 	FileWrite $0 '$\r$\n'
+	FileWrite $0 'cd "%USERPROFILE%"'
+	FileWrite $0 '$\r$\n'
 	FileWrite $0 '%GRASS_PYTHON% "%WINGISBASE%\grass70.py" %*'
 	FileClose $0
 	done_create_grass_command.bat: