mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "7.2.1",
 | 
						|
    "description": "Cross-platform automation and configuration tool/framework, known as Powershell Core, that works well with existing tools and is optimized for dealing with structured data.",
 | 
						|
    "homepage": "https://github.com/PowerShell/PowerShell",
 | 
						|
    "license": "MIT",
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/PowerShell-7.2.1-win-x64.zip",
 | 
						|
            "hash": "D08AAE1CBF53CA3ECA6EFCCB03B00178960BED6DAC5D151E83BB67A187C7E097"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "url": "https://github.com/PowerShell/PowerShell/releases/download/v7.2.1/PowerShell-7.2.1-win-x86.zip",
 | 
						|
            "hash": "A8916E7C35D4675FB09ADE0AB7161A4436606838513DD68D3C80D73CC3F7F4B5"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "pre_install": [
 | 
						|
        "'Microsoft.PowerShell_profile.ps1', 'profile.ps1' | ForEach-Object {",
 | 
						|
        "    if (!(Test-Path \"$persist_dir\\$_\")) { New-Item \"$dir\\$_\" | Out-Null }",
 | 
						|
        "}"
 | 
						|
    ],
 | 
						|
    "bin": "pwsh.exe",
 | 
						|
    "shortcuts": [
 | 
						|
        [
 | 
						|
            "pwsh.exe",
 | 
						|
            "PowerShell Core",
 | 
						|
            "-WorkingDirectory ~"
 | 
						|
        ]
 | 
						|
    ],
 | 
						|
    "persist": [
 | 
						|
        "Microsoft.PowerShell_profile.ps1",
 | 
						|
        "profile.ps1"
 | 
						|
    ],
 | 
						|
    "checkver": "github",
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "https://github.com/PowerShell/PowerShell/releases/download/v$version/PowerShell-$version-win-x64.zip"
 | 
						|
            },
 | 
						|
            "32bit": {
 | 
						|
                "url": "https://github.com/PowerShell/PowerShell/releases/download/v$version/PowerShell-$version-win-x86.zip"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "hash": {
 | 
						|
            "url": "https://github.com/PowerShell/PowerShell/releases/tag/v$version/",
 | 
						|
            "regex": "$basename\\s*<ul>\\s*<li>$sha256"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |