|
|
|
@ -200,8 +200,13 @@ func SetFirewallMode(v string) { firewallMode.Store(v) } |
|
|
|
|
|
|
|
|
|
|
|
// SetPackage sets the packaging type for the app.
|
|
|
|
// SetPackage sets the packaging type for the app.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// As of 2022-03-25, this is used by Android ("nogoogle" for the
|
|
|
|
// For Android, the possible values are:
|
|
|
|
// F-Droid build) and tsnet (set to "tsnet").
|
|
|
|
// - "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) } |
|
|
|
func SetPackage(v string) { packagingType.Store(v) } |
|
|
|
|
|
|
|
|
|
|
|
// SetApp sets the app type for the app.
|
|
|
|
// SetApp sets the app type for the app.
|
|
|
|
|