Skip to content

TElectronPath

Below is a list of the available methods for TElectronPath. This class allows to retrieve common paths accross all supported platforms. Instead of creating a TElectronPath instance, ElectronPath can be used.

Methods for TElectronPath

Property Description
GetAppData: string Funcion to retrieve the path to the per-user application data directory.
GetDesktop: string Function to retrieve the path to the desktop directory.
GetDocuments: string Function to retrieve the path to the Documents directory.
GetDownloads: string Function to retrieve the path to the Download directory.
GetExe: string Function to retrieve the path to the current executable file.
GetHome: string Function to retrieve the path to the user's home directory.
GetUserData: string Function to retrieve the path to the application's configuration files. By default this means appData + the application name.
GetPictures: string Function to retrieve the path to the Pictures directory.
GetTemp: string Function to retrieve the path to the temporary directory.
GetVideos: string Function to retrieve the path to the Videos directory.