In this Electron dialog tutorial we’ll take a look at using the different dialogs electron provides. With the dialog we can display native system dialogs for opening and saving files, alerting, etc.
Each dialog has its own post to make them easier to read.
With the showOpenDialog you can let the user select one or more files or folders. The selected paths are returned as an array of strings.
The save dialog displays a dialog to the user and returns a path containing the path selected.
showMessageBox could be used to display a question to the user, and depending of the answer do something.
showErrorBox is used to display an error to the user.