Ver código fonte

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 anos atrás
pai
commit
fab82ed8db
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      mswindows/GRASS-Installer.nsi

+ 2 - 0
mswindows/GRASS-Installer.nsi

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