Documentation ¶
Index ¶
- Constants
- func AutoUnpackUpdates() []string
- func EnsureChromeSandboxPermissions(reg *updater.ResourceRegistry) error
- func IntelOnly()
- func MandatoryUpdates() (identifiers []string)
- func PlatformIdentifier(identifier string) string
- func SetIndexes(registry *updater.ResourceRegistry, releaseChannel string)
Constants ¶
const ( ReleaseChannelKey = "core/releaseChannel" ReleaseChannelJSONKey = "core.releaseChannel" ReleaseChannelStable = "stable" ReleaseChannelBeta = "beta" ReleaseChannelStaging = "staging" ReleaseChannelSupport = "support" )
Variables ¶
This section is empty.
Functions ¶
func AutoUnpackUpdates ¶ added in v0.6.16
func AutoUnpackUpdates() []string
AutoUnpackUpdates returns assets that need unpacking.
func EnsureChromeSandboxPermissions ¶
func EnsureChromeSandboxPermissions(reg *updater.ResourceRegistry) error
EnsureChromeSandboxPermissions makes sure the chrome-sandbox distributed by our app-electron package has the SUID bit set on systems that do not allow unprivileged CLONE_NEWUSER (clone(3)). On non-linux systems or systems that have kernel.unprivileged_userns_clone set to 1 EnsureChromeSandboPermissions is a NO-OP.
func IntelOnly ¶ added in v0.7.0
func IntelOnly()
IntelOnly specifies that only intel data is mandatory.
func MandatoryUpdates ¶ added in v0.6.16
func MandatoryUpdates() (identifiers []string)
MandatoryUpdates returns mandatory updates that should be loaded on install or reset.
func PlatformIdentifier ¶
PlatformIdentifier converts identifier for the current platform.
func SetIndexes ¶ added in v0.6.16
func SetIndexes(registry *updater.ResourceRegistry, releaseChannel string)
SetIndexes sets the update registry indexes and also configures the registry to use pre-releases based on the channel.
Types ¶
This section is empty.