helper

package
v0.6.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2021 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 PlatformIdentifier

func PlatformIdentifier(identifier string) string

PlatformIdentifier converts identifier for the current platform.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL