Merge 217eb258d39b1a1b2c3cb6f137e71055fe845b7e into b3455fa99a5e8d07133d5140017ec7c49f032a07

This commit is contained in:
jen20 2025-03-24 22:12:46 +00:00 committed by GitHub
commit 7109c7bf2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -505,6 +505,11 @@ func (s *Server) start() (reterr error) {
// directory and hostname when they're not supplied. But we can fall
// back to "tsnet" as well.
exe = "tsnet"
case "ios":
// When compiled as a framework (via TailscaleKit in libtailscale),
// os.Executable() returns an error, so fall back to "tsnet" there
// too.
exe = "tsnet"
default:
return err
}