mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "homepage": "http://strawberryperl.com",
 | 
						|
    "version": "5.28.1.1",
 | 
						|
    "license": "Artistic-1.0-Perl|GPL-1.0-only",
 | 
						|
    "architecture": {
 | 
						|
        "32bit": {
 | 
						|
            "url": "http://strawberryperl.com/download/5.28.1.1/strawberry-perl-5.28.1.1-32bit-portable.zip",
 | 
						|
            "hash": "8b15c7c9574989568254a7859e473b7d5f68a1145d2e4418036600a81b13805c"
 | 
						|
        },
 | 
						|
        "64bit": {
 | 
						|
            "url": "http://strawberryperl.com/download/5.28.1.1/strawberry-perl-5.28.1.1-64bit-portable.zip",
 | 
						|
            "hash": "935c95ba096fa11c4e1b5188732e3832d330a2a79e9882ab7ba8460ddbca810d"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "post_install": [
 | 
						|
        "# enable standard idiomatic access to user's home directory",
 | 
						|
        "## remove HomeDir section from portable.perl (disables Portable.pm override of File::HomeDir)",
 | 
						|
        "## NOTE: conversion to byte[] avoids adding an extra trailing newline to the output file",
 | 
						|
        "[System.IO.File]::WriteAllBytes(\"$dir\\portable.perl\", ([byte[]][char[]]((Get-Content -Raw \"$dir\\portable.perl\") -replace \"(?ms)^HomeDir:.*?^(?=\\S)\",\"\")))"
 | 
						|
    ],
 | 
						|
    "env_add_path": [
 | 
						|
        "perl\\site\\bin",
 | 
						|
        "perl\\bin",
 | 
						|
        "c\\bin"
 | 
						|
    ],
 | 
						|
    "checkver": "Recommended version:</b></p>\\s*<a href=\"\\/download\\/([^\\/]+)\\/strawberry-perl-[\\d.]+-64bit.msi",
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "32bit": {
 | 
						|
                "url": "http://strawberryperl.com/download/$version/strawberry-perl-$version-32bit-portable.zip"
 | 
						|
            },
 | 
						|
            "64bit": {
 | 
						|
                "url": "http://strawberryperl.com/download/$version/strawberry-perl-$version-64bit-portable.zip"
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |