mirror of
https://github.com/rwinkhart/rcw.git
synced 2026-08-27 20:36:30 -04:00
Set socketPath for Termux
This commit is contained in:
@@ -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,8 +2,6 @@
|
||||
|
||||
package daemon
|
||||
|
||||
import (
|
||||
"path/filepath"
|
||||
)
|
||||
import "path/filepath"
|
||||
|
||||
var socketPath = "/tmp/" + filepath.Base(binPath) + "-rcwd.sock" // store UNIX socket path
|
||||
|
||||
Reference in New Issue
Block a user