When electron downloads files, you need to make a prompt when you run out of disk space?

how to get past the disk space, is there a method in api in electron or in node?
or is there any other solution


can be implemented with this library
diskusage , because it needs to use the system API to obtain the disk size, so it needs to be compiled into a binary file. Look for the usage of node-gyp under windows. For other methods, please see https://stackoverflow.com/que.

.
Menu