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.

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b333c8-2b3c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b333c8-2b3c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?