Fix creating editor data, config and cache paths
Created by: akien-mga
We used to abort if the system-specific data folder (e.g. ~/.local
or %APPDATA%
) is missing, but the next code chunk actually creates
it with make_dir_recursive
if missing.
Fixes #26598 (closed).
Likely affects 3.0.x too, so should be cherry-picked.