[GRASS-git] [OSGeo/grass] 37ba48: macOS: use default config dir consistently (#7307)

Nicklas Larsson noreply at github.com
Mon Apr 13 01:59:33 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 37ba48533790bc0eabc29a64cf0940ae00c4a751
      https://github.com/OSGeo/grass/commit/37ba48533790bc0eabc29a64cf0940ae00c4a751
  Author: Nicklas Larsson <n_larsson at yahoo.com>
  Date:   2026-04-13 (Mon, 13 Apr 2026)

  Changed paths:
    M include/grass/gis.h
    M lib/gis/home.c
    M lib/init/grass.py
    M macos/files/grass.sh.in
    M python/grass/app/runtime.py

  Log Message:
  -----------
  macOS: use default config dir consistently (#7307)

Default configuration directory on mac: `~/Library/GRASS/GRASS{major version}`.
For 8.4, and probably a few releases before, *nix default,
`~/.grass{major version}` was used. This restores the "old" behaviour for mac,
with a few moderations. Addons directory name is now versioned, based on major
and minor version, but separated from general configurations.

For convenient upgrade experience from 8.4, old configuration files are copied
to the new location, on first use.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list