2 Commits
Author SHA1 Message Date
RandyTheSilly 4bcff52758 Fix build conflict 2025-05-11 16:41:03 -04:00
RandyTheSilly 4ddd3cf32c Set socketPath for Termux 2025-05-11 16:38:41 -04:00
2 changed files with 9 additions and 4 deletions
+7
View File
@@ -0,0 +1,7 @@
//go:build android && termux
package daemon
import "path/filepath"
var socketPath = "/data/data/com.termux/files/usr/tmp/" + filepath.Base(binPath) + "-rcwd.sock" // store UNIX socket path
+2 -4
View File
@@ -1,9 +1,7 @@
//go:build !windows
//go:build !windows && !android && !termux
package daemon
import (
"path/filepath"
)
import "path/filepath"
var socketPath = "/tmp/" + filepath.Base(binPath) + "-rcwd.sock" // store UNIX socket path