mirror of
https://github.com/rwinkhart/rcw.git
synced 2026-08-28 04:46:42 -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
|
package daemon
|
||||||
|
|
||||||
import (
|
import "path/filepath"
|
||||||
"path/filepath"
|
|
||||||
)
|
|
||||||
|
|
||||||
var socketPath = "/tmp/" + filepath.Base(binPath) + "-rcwd.sock" // store UNIX socket path
|
var socketPath = "/tmp/" + filepath.Base(binPath) + "-rcwd.sock" // store UNIX socket path
|
||||||
|
|||||||
Reference in New Issue
Block a user