sindresorhus / electron-dl

Simplified file downloads for your Electron app
MIT License
1.16k stars 137 forks source link

Download not working in packaged Win10 install #118

Open astralmedia opened 4 years ago

astralmedia commented 4 years ago

Hey! Thanks for all the great work.

I have this working in development just fine, but after packaging I don't get any download progress.

Tried running as admin, but nothing different.

Do I need to configure my build process to get permission or anything?

sindresorhus commented 4 years ago

If it works in development, but not in production, it's likely not a problem with this package. This is not the place to ask for general Electron support.

jameschen4554 commented 3 years ago

I don't think you can simply just say that it is not a problem with this package as I think it is. I am using many other packages which work fine and as expected from development to packaged app. However, I am experiencing the same issue as well. I tested this against a localhosted python http server and found that the error on the server side is something like:

ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

but there is no error from the server in development mode. Any ideas on how to resolve this?