mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			48 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "4.17",
 | 
						|
    "description": "Converts source code to formatted text with syntax highlighting.",
 | 
						|
    "homepage": "http://www.andre-simon.de/doku/highlight/en/highlight.php",
 | 
						|
    "license": "GPL-3.0-only",
 | 
						|
    "notes": "You need to set the working directory of the shortcut to '$dir'",
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "http://www.andre-simon.de/zip/highlight-4.17-x64.zip",
 | 
						|
            "hash": "57a19206d10fd881275ea4eb1a5e323f5620ff0137713d577714acf66221b057"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "url": "http://www.andre-simon.de/zip/highlight-4.17.zip",
 | 
						|
            "hash": "9a7121d554d547f1b3905b03458cfdb44152ac9437d6008940ab01122c4646ae"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "pre_install": [
 | 
						|
        "# Temporary solution for https://github.com/ScoopInstaller/Scoop/issues/6372",
 | 
						|
        "Get-ChildItem \"$dir\\highlight*\\*\" | Move-Item -Destination \"$dir\"",
 | 
						|
        "Remove-Item \"$dir\\highlight-$version*\" -ErrorAction SilentlyContinue"
 | 
						|
    ],
 | 
						|
    "bin": "highlight.exe",
 | 
						|
    "shortcuts": [
 | 
						|
        [
 | 
						|
            "highlight-gui.exe",
 | 
						|
            "Highlight"
 | 
						|
        ]
 | 
						|
    ],
 | 
						|
    "checkver": {
 | 
						|
        "url": "https://gitlab.com/saalen/highlight/-/tags",
 | 
						|
        "regex": "v([\\d.]+)</a>"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "http://www.andre-simon.de/zip/highlight-$version-x64.zip"
 | 
						|
            },
 | 
						|
            "32bit": {
 | 
						|
                "url": "http://www.andre-simon.de/zip/highlight-$version.zip"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "hash": {
 | 
						|
            "url": "http://andre-simon.de/zip/download.php",
 | 
						|
            "regex": "$sha256\\s+$basename"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |