4 ms·
How is that different from accessing $HOME/.config? It does exist on Windows too, but I don't want to Google it. I believe in Windows there's even $SHARED/.con
by heavenlyblue 3y ago
How is that different from accessing $HOME/.config? It does exist on Windows too, but I don't want to Google it.
I believe in Windows there's even $SHARED/.config
- c0nsumer 3y agoUsing the registry is a pretty simple API call to say place X here, read X if it exists, etc. If you need to start manipulating configuration files, then you need to deal with all the complexities of that. The registry is great for exactly this sort of config info. And on Windows, HKLM (HKEY_LOCAL_MACHINE) is for system-wide stuff. If it were per-user config it'd go in HKCU (HKEY_CURRENT_USER).
- Narishma 3y agoI think it's %LOCALAPPDATA% and %APPDATA% respectively.