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:

ParameterTypeDescription
namestringThe name of the special path to override.
pathstringThe new path.

Returns: void