-
Notifications
You must be signed in to change notification settings - Fork 63
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
Replace request with axios #516
base: next
Are you sure you want to change the base?
Conversation
Did you test this :) ? Axios shouldn't be available in the renderer (and that calls downloadfile atm). |
I did test it ;) |
@Mar0xy, could you try testing it as well? I can't get @r0wanda's repo to work for me. Notifications are always shown without an icon. @r0wanda, are you sure it's triggering? Can you add a I don't know why it doesn't work, I've only ever managed to get it to work with request. |
Quality Gate passedIssues Measures |
I redesigned it a bit so that Axios is called in the main process through IPC. I tested it (more thoroughly this time) and it seems to work :) |
Request is deprecated (request/request#3142), and axios is already part of this project's dependencies, so it feels more appropriate to stick to one http library. I tried to maintain the stream approach in the original request-based code.