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.103.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.103.0/nu-0.103.0-x86_64-pc-windows-msvc.zip",
 | 
						|
            "hash": "6036d0279566b7160ddbfca1ca013d080399858d91cbc505fe88651c669f2eea"
 | 
						|
        },
 | 
						|
        "arm64": {
 | 
						|
            "url": "https://github.com/nushell/nushell/releases/download/0.103.0/nu-0.103.0-aarch64-pc-windows-msvc.zip",
 | 
						|
            "hash": "79ee46ad702e4f422b180d9930f9dbda506d285ad673104445c80c68a6705cd4"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "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"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |