-
Notifications
You must be signed in to change notification settings - Fork 4
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
ytobi's aria2 fixes #4
base: aria2
Are you sure you want to change the base?
Conversation
This fixes the issue because the default image already comes with the package database.
Using `--lzma` on such a large binary is causing long loading times - not just when running, but also when examining the executable in the file explorer (potentially due to the virus scanner). With many of these compressed executables in the same folder, the CPU shoots up to 100% just examining them, before they are even run. There is not a dramatic difference between UCL and LZMA, anyway - 1 MB is a decent price to pay for significantly faster loading times.
This reverts commit 88bc4ef.
pass correct argument to the finished signal.
Revert 95a9f17 after merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work.
However, this branch is still far from finished and the aria2 code is not being used. You need to edit the download code in Updater::taskDownload
to invoke the aria2 backend.
[&](short code) { | ||
const QString file("Unknown file"); | ||
error = true; | ||
errorMsg = file; | ||
errorCode = code; | ||
qCritical() << "Error extracting" << file << "- code" << code; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change in this signal's signature is due to a major version change in QArchive that apparently was applied to this branch. I would be careful because I have not tested that new version.
will need to change the url back but otherwise can confirm these work