-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
download-progress event not firing #8659
Comments
Hello, I did a lot of digging and I think I have a smoking gun. If the I think this is the root cause of this trouble. On top of that, weirdly the This issue I am trying to solve in this PR: #8695 |
It seems to me that solution is to pass Here is PR just for demonstrative purpose. Here is the draft PR: #8697 Its is just an illustrative example. I lack the knowledge to complate this PR. |
same problem here. I tried on linux it triggers "download-progress" but not on windows 11. extra info: My app is updating from private github repo.
|
package JSON
"dependencies": {
"@capacitor-community/electron": "^5.0.0",
"chokidar": "~3.5.3",
"electron-is-dev": "~2.0.0",
"electron-serve": "~1.1.0",
"electron-unhandled": "~4.0.1",
"electron-updater": "^5.3.0",
"electron-window-state": "^5.0.3",
"keytar": "^7.9.0",
"electron-store": "^10.0.0"
},
"scripts": {
"electron:make:windows": "npm run build && electron-builder build --win -c ./electron-builder.config.json -p always"
},
},
---------------------- end ----------------------
index.ts - Logic
autoUpdater.setFeedURL({
provider: 'generic',
url: 'https://custom_domain/releases/'
});
---------------------- end ----------------------
Question:
The download-progress event doesn't fire, all other events from the code above works just fine. But the download-progress is not. I have Content-Length in headers from the server (browser shows the download size). I'm trying on windows 11 Pro 23H2 version. Is there something else I'm missing? Thank you in advance.
The text was updated successfully, but these errors were encountered: