Answer the question
In order to leave comments, you need to log in
How to call a dialog box in Electron with a path selection?
In an electron application, I want to make a button that brings up a directory selection dialog (not a file). In this directory, I will create the required json. Is there such a possibility?
Google gives links to choose the path to the file using the input type file, which is not convenient, because. there is no file.
The plan is this: the user presses a button, the js method is triggered, which calls up a dialog box, and when the user has selected a folder on his computer, a json file is created in this folder, and the path to it is written to another text file. Is that possible?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question