mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "0.107.0",
 | 
						|
    "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.107.0/nu-0.107.0-x86_64-pc-windows-msvc.zip",
 | 
						|
            "hash": "6f62ab495b5166239512429886f944eab9153f734a27703516d5eabb5d370e4d"
 | 
						|
        },
 | 
						|
        "arm64": {
 | 
						|
            "url": "https://github.com/nushell/nushell/releases/download/0.107.0/nu-0.107.0-aarch64-pc-windows-msvc.zip",
 | 
						|
            "hash": "e78539a8638c8f470c6458421ae4ca046a842b8852df3d329c46891d7e25aba0"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "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"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |