Skip to content

ElectronApp.setPath method

ElectronApp › setPath

Unofficial

Overrides the path to a special directory or file associated with name.

Signature:

setPath(name: string, path: string): void

Parameters:

Parameter Type Description
name string The name of the special path to override.
path string The new path.

Returns: void