Skip to content

feat: use XDG base directories via app.getPath("userData"), closes #174#798

Open
stevenxxiu wants to merge 1 commit intoevolus:masterfrom
stevenxxiu:feat/xdg
Open

feat: use XDG base directories via app.getPath("userData"), closes #174#798
stevenxxiu wants to merge 1 commit intoevolus:masterfrom
stevenxxiu:feat/xdg

Conversation

@stevenxxiu
Copy link

For backwards compatibility, this first checks if the current config directory ~/.pencil/ exists. If it does, it uses that.

Otherwise it uses ~/.config/Pencil/. In fact this directory also already exists. I'm not sure why Pencil has 2 config directories. This PR then reduces the # of config directories to 1.

I tested this on the current release v3.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant