4 ms·
And what difference to end user it makes where exactly the key/value data is stored? No real difference whether the data is HKEY_CURRENT_USER\Software\MyAppName
by p_l 2y ago
And what difference to end user it makes where exactly the key/value data is stored? No real difference whether the data is HKEY_CURRENT_USER\Software\MyAppName or com.my.app when you're trying to coerce some internals whose configuration is not exposed because you're not worthy of it
- cosmic_cheese 2y agoI’d say that a quick defaults command is probably on the whole more friendly than trawling around in the arcane mess that is the Windows registry. It’s not as friendly as it could be, but at least it’s a somewhat human readable one liner. It’s also reasonable to back up plists and/or sync them between machines like some users do with their dotfiles, because they’re just files.
- bshacklett 2y agoRegistry settings can be modified via CLI, too. Windows users are just far more averse to the command line.
- p_l 2y agoI have never seen anyone backup defaults database between macs[1], I have seen a lot of scripts calling setting by setting instead. Which has direct equivalent in "reg" files, to be quite honest. [1] Other than restoring time machine backup to another system or similar cloning setups
- cosmic_cheese 2y agoIt’s not a database, they’re individual files. Most are even plain XML that can be hand written and edited with a text editor.
- p_l 2y agoThis is not a gotcha, really. An XML file can be considered database just as well (similarly, part of registry on NT is portable between machines).
- Lammy 2y agoIt was common in the Windows 9x days for the two Registry Hives (SYSTEM.DAT and USER.DAT) to get corrupted leading to an unbootable system or to get fragmented and/or full of disused values from poorly-uninstalled software leading to increased memory usage. Here are some KB articles to check out for context: - https://helparchive.huntertur.net/document/105563 https://helparchive.huntertur.net/document/105563 - https://helparchive.huntertur.net/document/89799 https://helparchive.huntertur.net/document/89799 - https://helparchive.huntertur.net/document/89794 https://helparchive.huntertur.net/document/89794
- p_l 2y agoBeen there, know the pain, still not actually a big difference to the question of modifying "unexported" settings
- julik 2y agoThere is - removing a wonk preference namespace is as easy as `rm ~/Library/Preferences/com.cheapskatesoftware.wonko.plist`. Whereas the Windows Registry is a monolithic piece of gunk you need a Microsoft editor for to zap something
- p_l 2y agoConsidering the day I once spent hunting for all possible plist locations of a single program, I'd rate it about same for registry and plists