Have a task in which I should open data coming from back-end in electron as in desktop folder, like that
have no idea how to do that
For example I'm getting data {id:1, foldername: 'test'} and I need to show it in folder.
{id:1, foldername: 'test'}
Try using shell
shell
const {shell} = require('electron') shell.openPath('folderpath')
here is the shell docs https://github.com/electron/electron/blob/main/docs/api/shell.md