summaryrefslogtreecommitdiff
path: root/.prettierrc
diff options
context:
space:
mode:
authorkleines Filmröllchen <filmroellchen@serenityos.org>2022-04-09 12:35:21 +0200
committerAndreas Kling <kling@serenityos.org>2022-04-11 00:08:48 +0200
commit0fd09b2381e7d01eeb80cf811415f54174b03b56 (patch)
tree1c1bfa401b242e266dbbdc877292e70ac8835bbc /.prettierrc
parent46b76f2f55f61f45fc292f800ba2a4e2a5c354be (diff)
downloadserenity-0fd09b2381e7d01eeb80cf811415f54174b03b56.zip
LibCore: Automatically create config directories if necessary
If the .config directory (or its children, like lib) was deleted, ConfigFile would crash because it would try to open or create a file in a directory that didn't exist. Therefore, for user and library configs (but not system configs), ensure that the parent directories exist. This allows the user to delete the entire .config folder and all apps still work. (Except those which can't handle missing config. That's a separate issue though.) Fixes #13555 Note: Some changes to pledges and unveils are necessary for this to work. The only one who can recreate .config at the moment is ConfigServer, as others probably don't pledge the user home directory.
Diffstat (limited to '.prettierrc')
0 files changed, 0 insertions, 0 deletions