agent v0.3.15: mode proxy auto/manuel, correction auto-update et conservation systray, animation UI update
This commit is contained in:
+12
-2
@@ -14,8 +14,18 @@ type AgentConfig struct {
|
||||
Server string `json:"server"`
|
||||
HeadscaleURL string `json:"headscale_url"`
|
||||
HeadscaleAuthKey string `json:"headscale_auth_key"`
|
||||
NodeID string `json:"node_id"`
|
||||
DataDir string `json:"data_dir"`
|
||||
NodeID string `json:"node_id"`
|
||||
DataDir string `json:"data_dir"`
|
||||
// ProxyURL is an optional HTTP(S) proxy used for all outbound agent traffic
|
||||
// (WebSocket, update checks, downloads).
|
||||
ProxyURL string `json:"proxy_url,omitempty"`
|
||||
// ProxyMode controls how the proxy is used:
|
||||
// - "disabled" : never use the proxy.
|
||||
// - "auto" : the agent tries direct connections first and falls back to
|
||||
// the proxy after a few failures (useful when moving between
|
||||
// home network and school network).
|
||||
// - "enabled" : always use the proxy.
|
||||
ProxyMode string `json:"proxy_mode,omitempty"`
|
||||
}
|
||||
|
||||
const configFileName = "studioE5-config.json"
|
||||
|
||||
Reference in New Issue
Block a user