mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-10-31 22:01:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "version": "5.42.0.1",
 | |
|     "description": "A programming language suitable for writing simple scripts as well as complex applications.",
 | |
|     "homepage": "https://strawberryperl.com",
 | |
|     "license": "GPL-1.0-or-later|Artistic-1.0-Perl",
 | |
|     "architecture": {
 | |
|         "64bit": {
 | |
|             "url": "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_54201_64bit/strawberry-perl-5.42.0.1-64bit-portable.zip",
 | |
|             "hash": "a1cde185656cf307b51670eed69f648b9eff15b5c518cb136e027c628e650b71"
 | |
|         }
 | |
|     },
 | |
|     "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"
 | |
|     ],
 | |
|     "checkver": {
 | |
|         "url": "https://api.github.com/repositories/23202375/releases/latest",
 | |
|         "regex": "releases/download/(?<tag>\\w+)/strawberry-perl-([\\d.]+)-64bit-portable\\.zip\""
 | |
|     },
 | |
|     "autoupdate": {
 | |
|         "architecture": {
 | |
|             "64bit": {
 | |
|                 "url": "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/$matchTag/strawberry-perl-$version-64bit-portable.zip",
 | |
|                 "hash": {
 | |
|                     "url": "https://strawberryperl.com/releases.json",
 | |
|                     "jsonpath": "$[?(@.version == '$version')].edition.portable.sha256"
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| }
 | 
![github-actions[bot]](/assets/img/avatar_default.png)