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

feat: Add cURL support for convenient download with cookie/referer information #1430

Merged
merged 12 commits into from
Apr 17, 2023

Conversation

CW-B-W
Copy link
Contributor

@CW-B-W CW-B-W commented Apr 15, 2023

Feature

For more convenient to use with DevTools, I add cURL support that can automatically parse informations from cURL commands.

Description

We can use Copy as cURL with DevTools and paste it in motrix to download with cookie/referer/user-agent informations.

This is convenient to download from websites that require cookie/referer, e.g. Google Drive

image

image

Related Issues

Checklist:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you linted your code locally prior to submission?
  • Have you successfully ran app with your changes locally?

@CW-B-W
Copy link
Contributor Author

CW-B-W commented Apr 16, 2023

@shatyuka Thanks! You're right, I have changed it to --arm64

@agalwood
Copy link
Owner

I just tested the build script node .electron-vue/build.js && electron-builder --universal --mac, the electron-builder will auto use lipo to merge x86_64 arch and arm64 arch aria2c into a universal bin.

Shell:

lipo -info ./release/mac-universal/Motrix.app/Contents/Resources/engine/aria2c

Output:

Architectures in the fat file: ./release/mac-universal/Motrix.app/Contents/Resources/engine/aria2c are: x86_64 arm64

@agalwood agalwood merged commit 73c5a67 into agalwood:master Apr 17, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants