mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-10-31 13:51:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			56 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			56 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "version": "2025.10.17",
 | |
|     "description": "C/C++ dependency manager from Microsoft For all platforms, buildsystems, and workflows",
 | |
|     "homepage": "https://vcpkg.io/",
 | |
|     "license": "MIT",
 | |
|     "suggest": {
 | |
|         "Git": "git"
 | |
|     },
 | |
|     "url": "https://github.com/microsoft/vcpkg/archive/refs/tags/2025.10.17.zip",
 | |
|     "hash": "0ddaf1430da978e6c944eae37e29f06887b1f101d8b322eaffebc0cf2e6b461f",
 | |
|     "extract_dir": "vcpkg-2025.10.17",
 | |
|     "pre_install": [
 | |
|         "if (Get-Command \"git.exe\" -ErrorAction SilentlyContinue) {",
 | |
|         "    if (!(Test-Path \"$persist_dir\")) {",
 | |
|         "        New-Item -ItemType Directory -Path \"$persist_dir\" | Out-Null",
 | |
|         "    }",
 | |
|         "    if (!(Test-Path \"$persist_dir\\.git\")) {",
 | |
|         "        git -C \"$dir\" init --quiet --separate-git-dir \"$persist_dir\\.git\"",
 | |
|         "        git -C \"$dir\" remote add -t master origin https://github.com/microsoft/vcpkg",
 | |
|         "    } else {",
 | |
|         "        Write-Output \"gitdir: $persist_dir\\.git\" | Out-File -FilePath \"$dir\\.git\"",
 | |
|         "    }",
 | |
|         "    git -C \"$dir\" fetch --quiet --tags",
 | |
|         "    git -C \"$dir\" reset --quiet --hard $version",
 | |
|         "} else {",
 | |
|         "    Write-Host -F Yellow \"Git was not detected in PATH, skipping repository setup.\"",
 | |
|         "}"
 | |
|     ],
 | |
|     "installer": {
 | |
|         "file": "bootstrap-vcpkg.bat",
 | |
|         "args": "-disableMetrics",
 | |
|         "keep": true
 | |
|     },
 | |
|     "post_install": "vcpkg integrate install",
 | |
|     "uninstaller": {
 | |
|         "script": "vcpkg integrate remove"
 | |
|     },
 | |
|     "bin": "vcpkg.exe",
 | |
|     "env_set": {
 | |
|         "VCPKG_ROOT": "$dir"
 | |
|     },
 | |
|     "persist": [
 | |
|         "buildtrees",
 | |
|         "downloads",
 | |
|         "installed",
 | |
|         "packages"
 | |
|     ],
 | |
|     "checkver": {
 | |
|         "github": "https://github.com/microsoft/vcpkg/"
 | |
|     },
 | |
|     "autoupdate": {
 | |
|         "url": "https://github.com/microsoft/vcpkg/archive/refs/tags/$version.zip",
 | |
|         "extract_dir": "vcpkg-$version"
 | |
|     }
 | |
| }
 | 
![github-actions[bot]](/assets/img/avatar_default.png)