Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloads stuck on MacOS #147

Open
DM164 opened this issue Nov 29, 2021 · 5 comments
Open

Downloads stuck on MacOS #147

DM164 opened this issue Nov 29, 2021 · 5 comments

Comments

@DM164
Copy link

DM164 commented Nov 29, 2021

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.

@DM164
Copy link
Author

DM164 commented Nov 29, 2021

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?

@danielgottbehuet
Copy link

@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.

@DM164
Copy link
Author

DM164 commented Feb 20, 2022

@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.

@juliancorrea
Copy link

juliancorrea commented Mar 19, 2024

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....)

@juliancorrea
Copy link

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");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants