mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-10-31 13:51:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			45 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "version": "0.18",
 | |
|     "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.18/clink-flex-prompt-0.18.zip",
 | |
|     "hash": "5d9026d37c4e87b35916040922b1f8bf9925adc0eed82e9f8d691a540404cce7",
 | |
|     "pre_install": [
 | |
|         "ensure \"$persist_dir\" | Out-Null",
 | |
|         "if (!(Test-Path \"$persist_dir\\flexprompt_autoconfig.lua\")) { New-Item -Path \"$dir\\flexprompt_autoconfig.lua\" -Force -ErrorAction SilentlyContinue | Out-Null }",
 | |
|         "if (!(Test-Path \"$persist_dir\\flexprompt_config.lua\")) { New-Item -Path \"$dir\\flexprompt_config.lua\" -Force -ErrorAction SilentlyContinue | Out-Null }"
 | |
|     ],
 | |
|     "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\"",
 | |
|             "}"
 | |
|         ]
 | |
|     },
 | |
|     "persist": [
 | |
|         "flexprompt_autoconfig.lua",
 | |
|         "flexprompt_config.lua"
 | |
|     ],
 | |
|     "checkver": "github",
 | |
|     "autoupdate": {
 | |
|         "url": "https://github.com/chrisant996/clink-flex-prompt/releases/download/v$version/clink-flex-prompt-$version.zip"
 | |
|     }
 | |
| }
 | 
![github-actions[bot]](/assets/img/avatar_default.png)