If the server hard crashes (kill -9, system reboot etc), the
active_runtime.json remains there and will be preserved thanks to the
backup mechanism. If this happens, detect that it's already a symlink
and prevent doing the backup instead.
Will merge contents from
@CMAKE_INSTALL_PREFIX@/share/wivrn/config.json
/etc/wivrn/config.json
~/.config/wivrn.config.json (XDG_CONFIG_DIR in fact)
If -f option is provided, just parse that file, don't merge anything
I ran into some trouble debugging issues with Vivecraft because my OpenVR runtime setup was being automatically overridden by WiVRn.
It would be nice to attach a UI to this option, but I'm not sure on the details there and I'd like to keep the PR small and easily reviewed.
Being able to set the compat path is more useful than simply disabling compat override because of things like pressure-vessel bypass, which are finicky to get right.