Documentation
¶
Overview ¶
Package terms manages first-run privacy notice display and acceptance state. The pkg installer writes the acceptance flag via postinstall so the binary notice is skipped for pkg-installed users; Homebrew/direct-download users see it on first invocation.
Index ¶
Constants ¶
const EnvNoTelemetry = "TAUFINITY_NO_TELEMETRY"
EnvNoTelemetry disables all data collection when set to "1".
Variables ¶
This section is empty.
Functions ¶
func IsAccepted ¶
func IsAccepted() bool
IsAccepted reports whether the privacy notice has been shown/accepted.
func ShowOnce ¶
ShowOnce prints the privacy notice to w if it hasn't been shown before, then marks it as accepted. Silent no-op on subsequent calls and when TAUFINITY_NO_TELEMETRY=1 (user already opted out; no need to explain what they opted out of). Errors writing the flag are silently ignored so a read-only home directory doesn't break normal usage.
Types ¶
This section is empty.