platform/policy/platform-providers
Functions
Section titled “Functions”createPolicyProviders()
Section titled “createPolicyProviders()”createPolicyProviders(
brand,platform,io?):PolicyProvider[]
Defined in: app/src/platform/policy/platform-providers.ts:15
Creates the policy providers of the current platform. Paths follow the enterprise
design: SOFTWARE\Policies\<Product> on Windows, managed preferences of the bundle id
on macOS and /etc/<slug>/policies on Linux. The code that reads the sources loads with
the first read, which runs while Electron starts, so it stays out of the start path.
Parameters
Section titled “Parameters”Product names and identifiers.
platform
Section titled “platform”Platform
process.platform.
System access; defaults to Node.js.