How can I get the physical storage's name which the electron app is installed?


#1

I am making a backup functionality for some files in electron app. The files should be backup to another physical storage, not current working physical storage for the super security(?). Like the title, How can I get the physical storage’s name which the electron app is installed?

I saw the node package(https://www.npmjs.com/package/drivelist) for getting all storage information at the current machine. But before that, I need to know current physical storage’s name which the electron app is working.

Thanks.