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.16",
 | 
						|
    "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.16-x64.zip",
 | 
						|
            "hash": "c8950a0660e528aec0094818ee2483ce0b433e14872dda597de66e2ea42b0419"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "url": "http://www.andre-simon.de/zip/highlight-4.16.zip",
 | 
						|
            "hash": "5aa5e1aa785a4cab82b1bca7e726b99aac77b3054a404c0d153c00a4e2d50f38"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "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"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |