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

fix: handling win installer exit code #12

Merged
merged 1 commit into from
Mar 14, 2023

Conversation

evidolob
Copy link
Contributor

If user cancel installation on windows, we don't need to show error message.

Also this PR change download status bar item logging, by removing mention of downloading sha checksum, and add Donloading: 0% instead.

@evidolob evidolob requested a review from gbraad March 13, 2023 12:37
const downloadStream = got.stream(installerUrl);


downloadStream.on('downloadProgress', (progress) => {
const progressStr = /* progress.transferred + ' of ' + progress.total + ' ' + */Math.round(progress.percent * 100) + '%';
const progressStr = /* progress.transferred + ' of ' + progress.total + ' ' + */Math.round(progress.percent * 100) + '%';
Copy link
Contributor

Choose a reason for hiding this comment

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

no actual change....

@evidolob evidolob merged commit fc80969 into crc-org:main Mar 14, 2023
@evidolob evidolob deleted the fix-installer-exiting branch March 14, 2023 07:48
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.

2 participants