Closed marcosnils closed 4 years ago
If download gets interrupted somehow (cmd + c or whatever), a corrupted file will be created in the FS.
We should probably download the file to a tmp dir and then move it to the final path once finished.
Since we download the binary or archive to memory first since #29, maybe this isn't an issue any longer?
Makes sense.
If download gets interrupted somehow (cmd + c or whatever), a corrupted file will be created in the FS.
We should probably download the file to a tmp dir and then move it to the final path once finished.