mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "0.2.20241203.120811.a2174689",
 | 
						|
    "description": "Sapling SCM is a cross-platform, highly scalable, Git-compatible source control system.",
 | 
						|
    "homepage": "https://sapling-scm.com/",
 | 
						|
    "license": "GPL-2.0-only",
 | 
						|
    "notes": [
 | 
						|
        "The name of the Sapling CLI sl.exe conflicts with the sl shell built-in in PowerShell (sl is an alias for Set-Location, which is equivalent to cd).",
 | 
						|
        "If you want to use sl to run sl.exe in PowerShell, you must reassign the alias to PowerShell $PROFILE by running:",
 | 
						|
        "Add-Content -Path $Profile -Value \"`nSet-Alias -Name sl -Value `\"`$(scoop prefix sapling)\\sl.exe`\" -Force -Option Constant,ReadOnly,AllScope\""
 | 
						|
    ],
 | 
						|
    "suggest": {
 | 
						|
        "Node.js": [
 | 
						|
            "nodejs",
 | 
						|
            "nodejs-lts"
 | 
						|
        ],
 | 
						|
        "Git": "git"
 | 
						|
    },
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://github.com/facebook/sapling/releases/download/0.2.20241203-120811+a2174689/sapling_windows_0.2.20241203-120811+a2174689_amd64.zip",
 | 
						|
            "hash": "857acaab26f9f932e9d6b47be37468a58666f12e48f32e2bf951f2f25bd28827"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "extract_dir": "Sapling",
 | 
						|
    "bin": "sl.exe",
 | 
						|
    "checkver": {
 | 
						|
        "url": "https://api.github.com/repositories/58146669/releases/latest",
 | 
						|
        "jsonpath": "$.tag_name",
 | 
						|
        "regex": "(?<tag>(?<ver>[\\d.]+)\\.(?<date>[\\d]{8})-(?<time>[\\d]{6})\\+(?<hash>[\\da-f]{8}))",
 | 
						|
        "replace": "${ver}.${date}.${time}.${hash}"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "https://github.com/facebook/sapling/releases/download/$matchTag/sapling_windows_$matchTag_amd64.zip"
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |