Skip to content

Commit 3776808

Browse files
committed
feat(config)!: change default socket path
Use `XDG_RUNTIME_DIR`.
1 parent 0befc76 commit 3776808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const (
4343
)
4444

4545
var (
46-
DefaultCacheDir = filepath.Join(xdg.CacheHome, "pago")
46+
DefaultCacheDir = filepath.Join(xdg.RuntimeDir, "pago")
4747
DefaultDataDir = filepath.Join(xdg.DataHome, "pago")
4848
DefaultSocket = filepath.Join(DefaultCacheDir, AgentSocketPath)
4949
)

0 commit comments

Comments
 (0)