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

ytobi's aria2 fixes #4

Open
wants to merge 16 commits into
base: aria2
Choose a base branch
from
Open

ytobi's aria2 fixes #4

wants to merge 16 commits into from

Conversation

in1tiate
Copy link
Member

@in1tiate in1tiate commented Jan 7, 2021

will need to change the url back but otherwise can confirm these work

raidensnake and others added 16 commits August 9, 2020 03:10
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.
@in1tiate in1tiate requested a review from oldmud0 January 7, 2021 14:43
@stonedDiscord
Copy link
Member

Revert 95a9f17 after merge

Copy link
Member

@oldmud0 oldmud0 left a 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.

Comment on lines +499 to +504
[&](short code) {
const QString file("Unknown file");
error = true;
errorMsg = file;
errorCode = code;
qCritical() << "Error extracting" << file << "- code" << code;
Copy link
Member

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.

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.

4 participants