Use user scope ini file for settings and pass to Core on Windows - #9018
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
77356f6 to
2e379b4
Compare
Ah yes, we can use logic instead and lose a member. Is that what you're thinking? |
|
Seems that some of the complexity is coming from this: deskflow/src/lib/common/Settings.cpp Lines 218 to 221 in 8c632a0 IIRC, I tried removing it so we don't use 'Program Data' but something didn't work quite right (my memory is foggy). I can try again, but using 'Program Data' is how it works right now in |
I will leave that up to you since it only affects windows I can't test correctly anyway . |
Pull request was converted to draft
Windows registry is horrible to deal with and makes it impractical to pass settings to the Core when run via daemon on Windows. - Pass settings path to Core when launched via daemon - Introduce portable mode detection logic on Windows - Generalize `m_settingsFile` use - Reduce #ifdef size for Settings ctor path logic
Fixes: #8998
Todo: