From a3e5276b9a80168528319cfda27384b3e371382c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Gro=C3=9Fmann?= Date: Thu, 5 Mar 2026 10:48:58 +0100 Subject: [PATCH] feat(chore/windows): move socket path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Großmann --- x/api/defaults_windows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/api/defaults_windows.go b/x/api/defaults_windows.go index 620ed533..c40d4acd 100644 --- a/x/api/defaults_windows.go +++ b/x/api/defaults_windows.go @@ -22,9 +22,9 @@ import ( ) func DaemonSocketPath() string { - base := os.Getenv("ProgramData") + base := os.Getenv("LOCALAPPDATA") if base == "" { - base = `C:\ProgramData` + base = filepath.Join(os.Getenv("USERPROFILE"), "AppData", "Local") } return filepath.Join(base, "DockerSecretsEngine", "service", "daemon.sock") }