Skip to content

Fix the path to the user directory on Windows#696

Merged
wpferguson merged 1 commit into
darktable-org:masterfrom
lefth:fix-home-path
Jul 11, 2026
Merged

Fix the path to the user directory on Windows#696
wpferguson merged 1 commit into
darktable-org:masterfrom
lefth:fix-home-path

Conversation

@lefth

@lefth lefth commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

This fixes #695.

@wpferguson

Copy link
Copy Markdown
Member

I have some reservations about this since HOMEPATH is not equal to USERPROFILE, but I really don't have a feel for how anyone is using this so I'm willing to try it this way.

The other choice is to do what we do for all other values that aren't found which is return an empty string.

@wpferguson wpferguson merged commit 6bf43e4 into darktable-org:master Jul 11, 2026
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.

Lua fails to initialize due to error in dt 5.6 on Windows 11

2 participants