Windows 0.3.3 dashboard layout and speed presentation source delta; no private history or other platform changes
This commit is contained in:
@@ -32,6 +32,17 @@ internal sealed class XrayManager : IDisposable, IAsyncDisposable, IHandoverRunt
|
||||
private string? _preferredTailnetConfigJson;
|
||||
private string? _tailnetInterfaceName;
|
||||
internal bool UsesTailnet => _baseConfigJson is not null && TailnetTransport.Address(_baseConfigJson) is not null;
|
||||
internal (string Address, int Port)? TailnetProbeEndpoint
|
||||
{
|
||||
get
|
||||
{
|
||||
var current = _baseConfigJson;
|
||||
if (IsRunning && current is not null && UsesTailnet
|
||||
&& TailnetTransport.SameAuthorizedFallback(current, _tailnetFallbackConfigJson))
|
||||
return (TailnetTransport.Address(current)!, TailnetTransport.Port(current));
|
||||
return PreferredTailnetEndpoint;
|
||||
}
|
||||
}
|
||||
internal (string Address, int Port)? PreferredTailnetEndpoint
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user