This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Using http As New HttpClient() | |
| Using resp = Await http.GetAsync(githubZipUrl) | |
| If Not resp.IsSuccessStatusCode Then | |
| Throw New Exception("Download failed: " & resp.StatusCode.ToString()) | |
| End If | |
| Using fs As New FileStream(localZipPath, FileMode.Create, FileAccess.Write, FileShare.None) | |
| Await resp.Content.CopyToAsync(fs) | |
| End Using | |
| End Using | |
| End Using |