Downloads stuck on MacOS
DM164 opened this issue · 5 comments
I've been using electron-dl for a long time now and in many of my project versions but for some reason since yesterday it just doesn't work anymore on MacOS. I don't think it's the package's fault, I think it has something to do with the OS itself because on Windows and Linux it works so if anyone experienced the same problem and has a solution I'd be really thankful.
Ok so I tried using the packaged app on my device without downloading it from my website or GitHub and it works. Does anyone know how to get permissions to download files on MacOS?
@DM164 did you found a solution? Same here. Everything was fine. Now two M1 brand new MacBooks stuck downloading. With request module the same as this electron-dl package.
@danielgottbehuet no I haven't really found a permanent solution to the problem, the only thing that fixes it is to give the app full disk permission or change its ownership. Both are not a good solution for production though because of security and practicality reasons.
same here....It's hard to believe that none of the project collaborators have experienced this issue before. I had this problem in intel, not Apple Silicon (M1....)
by the way, I solve this issue downloading the file to the directory /Users/[USER NAME]/Library/Application Support/[YOU APP NAME], this path can be write by app. This path can be obtained using this code:
const { app } = require("electron");
app.getPath("userData");