{ "homepage": "https://github.com/tristanisham/zvm", "version": "0.7.9", "description": "Zig Version Manager (zvm) is a tool for managing your Zig installs", "license": "MIT", "architecture": { "64bit": { "url": "https://github.com/tristanisham/zvm/releases/download/v0.7.9/zvm-windows-amd64.zip", "hash": "ef29605cf3b09a3d2379df17852063a808652d7640d0f66fc30b43c75d877514", "extract_dir": "zvm-windows-amd64" }, "arm64": { "url": "https://github.com/tristanisham/zvm/releases/download/v0.7.9/zvm-windows-arm64.zip", "hash": "d3cf11624b7d854aafe08f217082e100cc95e0d5d699cba29fb2b84cb8248973", "extract_dir": "zvm-windows-arm64" } }, "bin": "zvm.exe", "checkver": { "github": "https://github.com/tristanisham/zvm" }, "autoupdate": { "architecture": { "64bit": { "url": "https://github.com/tristanisham/zvm/releases/download/v$version/zvm-windows-amd64.zip", "extract_dir": "zvm-windows-amd64" }, "arm64": { "url": "https://github.com/tristanisham/zvm/releases/download/v$version/zvm-windows-arm64.zip", "extract_dir": "zvm-windows-arm64" } } }, "post_install": [ "if (Test-Path ~\\.zvm) {", " if ($null -eq (Get-Item ~\\.zvm).LinkType) {", " Rename-Item -Path ~\\.zvm -NewName ~\\.zvm.old -Force", " } else {", " Remove-Item -Path ~\\.zvm -Force", " }", "}", "New-Item -Path ~/.zvm -Target \"$dir\\data\" -ItemType Junction | Out-Null" ], "uninstaller": { "script": [ "if ((Test-Path ~\\.zvm) -and ($null -ne (Get-Item ~\\.zvm).LinkType)) {", " Remove-Item -Path ~\\.zvm -Force", "}", "if (Test-Path ~\\.zvm.old) {", " Rename-Item -Path ~\\.zvm.old -NewName .zvm -Force", "}" ] }, "persist": "data", "env_add_path": "data\\bin" }