App Information

The main process app module can be used to get the path at which your app is located on the user's computer.

In this example, to get that information from the renderer process, we use the ipc module to send a message to the main process requesting the app's path.

See the app module documentation(opens in new window) for more.