mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "0.6",
 | 
						|
    "description": "Flexible customizable prompt for Clink",
 | 
						|
    "homepage": "https://github.com/chrisant996/clink-flex-prompt",
 | 
						|
    "license": "MIT",
 | 
						|
    "suggest": {
 | 
						|
        "Clink": "clink"
 | 
						|
    },
 | 
						|
    "url": "https://github.com/chrisant996/clink-flex-prompt/releases/download/v0.6/clink-flex-prompt-0.6.zip",
 | 
						|
    "hash": "b73f220b850a444bc10928755a72d9298e65fe6689abd9e16415dc35d6dc0df8",
 | 
						|
    "installer": {
 | 
						|
        "script": [
 | 
						|
            "if (Get-Command clink -ErrorAction SilentlyContinue) {",
 | 
						|
            "   clink installscripts \"$dir\"",
 | 
						|
            "} elseif ($Env:CMDER_ROOT) {",
 | 
						|
            "   & \"$Env:CMDER_ROOT\\vendor\\clink\\clink.bat\" installscripts \"$dir\"",
 | 
						|
            "} else {",
 | 
						|
            "   warn 'Clink or Cmder installation not found. Please manually install these scripts.'",
 | 
						|
            "}"
 | 
						|
        ]
 | 
						|
    },
 | 
						|
    "uninstaller": {
 | 
						|
        "script": [
 | 
						|
            "if (Get-Command clink -ErrorAction SilentlyContinue) {",
 | 
						|
            "   clink uninstallscripts \"$dir\"",
 | 
						|
            "} elseif ($Env:CMDER_ROOT) {",
 | 
						|
            "   & \"$Env:CMDER_ROOT\\vendor\\clink\\clink.bat\" uninstallscripts \"$dir\"",
 | 
						|
            "}"
 | 
						|
        ]
 | 
						|
    },
 | 
						|
    "checkver": "github",
 | 
						|
    "autoupdate": {
 | 
						|
        "url": "https://github.com/chrisant996/clink-flex-prompt/releases/download/v$version/clink-flex-prompt-$version.zip"
 | 
						|
    }
 | 
						|
}
 |