mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-18 02:48:40 +00:00
hostinfo: update SetPackage doc with new Android values (#13537)
Fixes tailscale/corp#23283 Signed-off-by: kari-ts <kari@tailscale.com>
This commit is contained in:
parent
f30d85310c
commit
8fdffb8da0
@ -200,8 +200,13 @@ func SetFirewallMode(v string) { firewallMode.Store(v) }
|
||||
|
||||
// SetPackage sets the packaging type for the app.
|
||||
//
|
||||
// As of 2022-03-25, this is used by Android ("nogoogle" for the
|
||||
// F-Droid build) and tsnet (set to "tsnet").
|
||||
// For Android, the possible values are:
|
||||
// - "googleplay": installed from Google Play Store.
|
||||
// - "fdroid": installed from the F-Droid repository.
|
||||
// - "amazon": installed from the Amazon Appstore.
|
||||
// - "unknown": when the installer package name is null.
|
||||
// - "unknown$installerPackageName": for unrecognized installer package names, prefixed by "unknown".
|
||||
// Additionally, tsnet sets this value to "tsnet".
|
||||
func SetPackage(v string) { packagingType.Store(v) }
|
||||
|
||||
// SetApp sets the app type for the app.
|
||||
|
Loading…
x
Reference in New Issue
Block a user