Shows an explicit error message to the user if winget-create is unable to connect to GitHub when there is no network connection. The error is non-blocking in case connection to GitHub fails, but winget-create is still able to download from a local network.
Also displays the proper error message if GitHub oauth device login flow fails also fails to connect.
Fixes #328
Shows an explicit error message to the user if winget-create is unable to connect to GitHub when there is no network connection. The error is non-blocking in case connection to GitHub fails, but winget-create is still able to download from a local network.
Also displays the proper error message if GitHub oauth device login flow fails also fails to connect.
Verified behavior manually.
Microsoft Reviewers: Open in CodeFlow