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

Updater: Fetch best asset size for download size notification #10090

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

F0bes
Copy link
Member

@F0bes F0bes commented Oct 10, 2023

Requires my changes to our api to be deployed

Description of Changes

Retrieve the download size of our 'best' asset for the user and show that (extends #10068)

image

image

Rationale behind Changes

It'll fix #10087 once this and the "behind-the-scenes" change is deployed

@@ -393,7 +392,7 @@ void AutoUpdaterDialog::getChangesComplete(QNetworkReply* reply)
"that you will have to reconfigure your settings after this update.</p>"));
}
changes_html += tr("<h4>Installing this update will download %1 MB through your internet connection.</h4>")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we want to be pedantic and change this to 1024 instead of 1000, should make this MiB, not MB.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed it to 1024 to match GitHubs UI, which also reports it (incorrectly) as MB.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, fair enough.

@stenzek stenzek merged commit 1e1091b into master Oct 12, 2023
22 checks passed
@stenzek stenzek deleted the updater-download-size branch October 12, 2023 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: Automatic Update download size is always shown as zero.
2 participants