mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-01 17:49:02 +00:00
paths: generalize IOSSharedDir to cover Android
Also fix an error message while here. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
73adbb7a78
commit
adfe8cf41d
@@ -13,9 +13,9 @@ import (
|
||||
"sync/atomic"
|
||||
)
|
||||
|
||||
// IOSSharedDir is a string set by the iOS app on start
|
||||
// AppSharedDir is a string set by the iOS or Android app on start
|
||||
// containing a directory we can read/write in.
|
||||
var IOSSharedDir atomic.Value
|
||||
var AppSharedDir atomic.Value
|
||||
|
||||
// DefaultTailscaledSocket returns the path to the tailscaled Unix socket
|
||||
// or the empty string if there's no reasonable default.
|
||||
|
||||
Reference in New Issue
Block a user