{
    "version": "0.112.2",
    "description": "A modern shell written in Rust",
    "homepage": "https://www.nushell.sh",
    "license": "MIT",
    "architecture": {
        "64bit": {
            "url": "https://github.com/nushell/nushell/releases/download/0.112.2/nu-0.112.2-x86_64-pc-windows-msvc.zip",
            "hash": "db57750ec878365135e7baebee9f5ec74b84c80158ed0168f1ccbe15d6ec251d"
        },
        "arm64": {
            "url": "https://github.com/nushell/nushell/releases/download/0.112.2/nu-0.112.2-aarch64-pc-windows-msvc.zip",
            "hash": "badc7536bf502b3d46c5abf6dc84d394641f407617e6be99cc8346fe946c5550"
        }
    },
    "bin": "nu.exe",
    "shortcuts": [
        [
            "nu.exe",
            "Nushell",
            "--execute \"cd ~\""
        ]
    ],
    "post_uninstall": [
        "if ($purge) {",
        "    $Directories = [string[]](",
        "        [System.IO.Path]::Combine($env:APPDATA,'nushell'),",
        "        [System.IO.Path]::Combine($env:LOCALAPPDATA,'nushell')",
        "    )",
        "    $Directories.ForEach{",
        "        if ([System.IO.Directory]::Exists($_)) {",
        "            $null = [System.IO.Directory]::Delete($_,$true)",
        "        }",
        "    }",
        "}"
    ],
    "checkver": {
        "github": "https://github.com/nushell/nushell"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/nushell/nushell/releases/download/$version/nu-$version-x86_64-pc-windows-msvc.zip"
            },
            "arm64": {
                "url": "https://github.com/nushell/nushell/releases/download/$version/nu-$version-aarch64-pc-windows-msvc.zip"
            }
        },
        "hash": {
            "url": "$baseurl/SHA256SUMS"
        }
    }
}
