From b522c82af3da017cb9bc1fe5ddfe8f5f76d618eb Mon Sep 17 00:00:00 2001 From: Sapphire Date: Mon, 18 May 2026 14:55:18 -0500 Subject: [PATCH] Fix socket getting placed in XDG_CONFIG_HOME instead of data home (#1846) --- server/core/src/main/java/io/eiren/util/OperatingSystem.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core/src/main/java/io/eiren/util/OperatingSystem.kt b/server/core/src/main/java/io/eiren/util/OperatingSystem.kt index 91819e17b..2941b306e 100644 --- a/server/core/src/main/java/io/eiren/util/OperatingSystem.kt +++ b/server/core/src/main/java/io/eiren/util/OperatingSystem.kt @@ -41,7 +41,7 @@ enum class OperatingSystem( if (currentPlatform == LINUX) { val isPressureVessel = System.getenv("PRESSURE_VESSEL_RUNTIME")?.isNotEmpty() == true if (isPressureVessel) { - dir = System.getenv("XDG_CONFIG_HOME")?.let { Path(it, SLIMEVR_IDENTIFIER).toString() } + dir = System.getenv("XDG_DATA_HOME")?.let { Path(it, SLIMEVR_IDENTIFIER).toString() } ?: System.getenv("HOME")?.let { Path(it, ".local", "share", SLIMEVR_IDENTIFIER).toString() } if (dir != null) return dir }