lightsystemdarkgreen
@ 261119.65 · fetching
current
{
    "version": "1.8.0",
    "description": "A command-line tool that provides convenient management and switching of multiple versions of the Go environment.",
    "homepage": "https://github.com/voidint/g",
    "license": "MIT",
    "notes": [
        "Scoop persists data since version 1.8.0. You may need to move data by yourself.",
        "Before: '$env:USERPROFILE\\.g'",
        "After : '$persist_dir'"
    ],
    "architecture": {
        "64bit": {
            "url": "https://github.com/voidint/g/releases/download/v1.8.0/g1.8.0.windows-amd64.zip",
            "hash": "93ad318012c8dc601b93ad44ce82b10fbdb23e169d831bb041061c0f6783c7e9"
        },
        "32bit": {
            "url": "https://github.com/voidint/g/releases/download/v1.8.0/g1.8.0.windows-386.zip",
            "hash": "25624f1f22355d23b914a5bc387c58f744b5c66d183328b0e951bbec1ce72a57"
        },
        "arm64": {
            "url": "https://github.com/voidint/g/releases/download/v1.8.0/g1.8.0.windows-arm64.zip",
            "hash": "a0e6068142aee30812db109880ff310056fdc98461f49f1794b206cca06437f0"
        }
    },
    "env_add_path": [
        ".g\\bin",
        ".g\\go\\bin"
    ],
    "env_set": {
        "G_HOME": "$persist_dir\\.g",
        "G_EXPERIMENTAL": "true",
        "GOROOT": "$persist_dir\\.g\\go"
    },
    "bin": "g.exe",
    "persist": ".g",
    "checkver": "github",
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/voidint/g/releases/download/v$version/g$version.windows-amd64.zip"
            },
            "32bit": {
                "url": "https://github.com/voidint/g/releases/download/v$version/g$version.windows-386.zip"
            },
            "arm64": {
                "url": "https://github.com/voidint/g/releases/download/v$version/g$version.windows-arm64.zip"
            }
        }
    }
}