ElectronApp.getPath method
ElectronApp › getPath
Unofficial
Returns a path to a special directory or file associated withname. Signature:
getPath(name: "appData" | "cache" | "crashDumps" | "desktop" | "documents" | "downloads" | "exe" | "home" | "logs" | "module" | "music" | "pictures" | "recent" | "temp" | "userData" | "videos"): stringParameters:
| Parameter | Type | Description |
|---|---|---|
| name | "appData" | "cache" | "crashDumps" | "desktop" | "documents" | "downloads" | "exe" | "home" | "logs" | "module" | "music" | "pictures" | "recent" | "temp" | "userData" | "videos" | The name of the special path to retrieve. |
Returns: string — The full path.