mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "0.4.4",
 | 
						|
    "description": "Krew is the package manager for kubectl plugins.",
 | 
						|
    "homepage": "https://krew.sigs.k8s.io/",
 | 
						|
    "license": "Apache-2.0",
 | 
						|
    "notes": [
 | 
						|
        "This application creates symlinks during installation of plugins.",
 | 
						|
        "You can install 'gsudo' to run it as administrator, or enable 'Developer Mode' in Windows 10 Settings to bypass the elevation requirement."
 | 
						|
    ],
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://github.com/kubernetes-sigs/krew/releases/download/v0.4.4/krew.exe",
 | 
						|
            "hash": "dcbc1acd1009dba2b5d900043c6b8b571bbe418a4556eec070e7d4efcbddc766"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "installer": {
 | 
						|
        "script": [
 | 
						|
            "[Environment]::SetEnvironmentVariable('KREW_ROOT', \"$persist_dir\\.krew\", 'Process')",
 | 
						|
            "Start-Process \"$dir\\krew.exe\" -Args 'install krew' -Wait -WindowStyle Hidden"
 | 
						|
        ]
 | 
						|
    },
 | 
						|
    "env_add_path": ".krew\\bin",
 | 
						|
    "env_set": {
 | 
						|
        "KREW_ROOT": "$dir\\.krew"
 | 
						|
    },
 | 
						|
    "persist": ".krew",
 | 
						|
    "checkver": {
 | 
						|
        "github": "https://github.com/kubernetes-sigs/krew"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "https://github.com/kubernetes-sigs/krew/releases/download/v$version/krew.exe"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "hash": {
 | 
						|
            "url": "$url.sha256"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |