Created
December 21, 2022 23:58
-
-
Save matu3ba/fefba6c6af16d5ca62f754427528a66e to your computer and use it in GitHub Desktop.
Fetch and patch devkit zig
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
$response = Invoke-RestMethod -Uri "https://ziglang.org/download/index.json" | |
$downloadlink = $response.master.'x86_64-windows'.tarball | |
Invoke-WebRequest -Uri "$downloadlink" -OutFile "$zigdl.zip" | |
# TODO finish this up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment