[GRASS-git] [OSGeo/grass] 4b6d5f: wxGUI/startup: Create grassdata automatically duri...
Linda Kladivova
noreply at github.com
Mon Jun 22 19:48:41 PDT 2020
Branch: refs/heads/master
Home: https://github.com/OSGeo/grass
Commit: 4b6d5f4f8971fc49617d57cb3c96a21f40f80002
https://github.com/OSGeo/grass/commit/4b6d5f4f8971fc49617d57cb3c96a21f40f80002
Author: Linda Kladivova <49241681+lindakladivova at users.noreply.github.com>
Date: 2020-06-22 (Mon, 22 Jun 2020)
Changed paths:
M gui/wxpython/gis_set.py
M gui/wxpython/startup/utils.py
Log Message:
-----------
wxGUI/startup: Create grassdata automatically during the first GUI startup (#705)
New function for a grassdata directory in the default path for user's platform was created.
MS Windows is the special case and follows what the current installer does on Windows,
i.e., use Documents which should exist on all modern versions.
Linux, macOS etc. use home dir directly.
A temporary directory is used as a fallback for extreme, but real, cases when the home directory is not writable because this may happen in try-GRASS-GIS-online cases which is one of the cases when we want grassdata to be created automatically.
Closes #682.
More information about the grass-commit
mailing list