From 6cf9a08ba0cfce32ca1ea2c53c42a66a5bf05828 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 28 Feb 2026 19:58:30 +0000 Subject: [PATCH] Ensure xr_driver config directory exists before writing config Co-authored-by: wheaney <42350981+wheaney@users.noreply.github.com> --- ui/src/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/main.py b/ui/src/main.py index 95428ef..8c86b17 100644 --- a/ui/src/main.py +++ b/ui/src/main.py @@ -56,6 +56,7 @@ def excepthook(exc_type, exc_value, exc_traceback): sys.excepthook = excepthook XRDriverIPC.set_instance(XRDriverIPC(logger, get_config_dir())) +os.makedirs(os.path.join(get_config_dir(), 'xr_driver'), exist_ok=True) if GLib.MAJOR_VERSION * 100 + GLib.MINOR_VERSION >= 274: APPLICATION_FLAGS = Gio.ApplicationFlags.DEFAULT_FLAGS