mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "1.8.11",
 | 
						|
    "description": "7-Zip plugin for the leading-edge compression methods; zstd, Brotli, LZ4, LZ5, Lizard, and Fast LZMA2.",
 | 
						|
    "homepage": "https://www.tc4shell.com/en/7zip/modern7z/",
 | 
						|
    "license": "Unknown",
 | 
						|
    "depends": "7zip",
 | 
						|
    "url": "https://www.tc4shell.com/binary/Modern7z.zip",
 | 
						|
    "hash": "4f44e1dec9724b96817937719128250ee96a99c59f760e53f102e081270fb47a",
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "extract_dir": "64"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "extract_dir": "32"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "installer": {
 | 
						|
        "script": [
 | 
						|
            "$7zcodecs = \"$(persistdir '7zip' $global)\\Codecs\"",
 | 
						|
            "if (-not (Test-Path \"$7zcodecs\")) {",
 | 
						|
            "  New-Item -Path \"$7zcodecs\" -ItemType Directory | Out-Null",
 | 
						|
            "  New-Item -Path \"$(versiondir '7zip' 'current')\\Codecs\" -Value \"$7zcodecs\" -ItemType Junction | Out-Null",
 | 
						|
            "}",
 | 
						|
            "Copy-Item -Path \"$dir\\*\" -Destination \"$7zcodecs\" -Recurse -Force -ErrorAction SilentlyContinue"
 | 
						|
        ]
 | 
						|
    },
 | 
						|
    "uninstaller": {
 | 
						|
        "script": [
 | 
						|
            "$7zcodecs = \"$(persistdir '7zip' $global)\\Codecs\"",
 | 
						|
            "Get-ChildItem -Path \"$dir\" -Exclude *.json | ForEach-Object { Remove-Item -LiteralPath \"$7zcodecs\\$($_.Name)\" -Recurse -Force -ErrorAction SilentlyContinue }"
 | 
						|
        ]
 | 
						|
    },
 | 
						|
    "checkver": "Plugin version: ([\\d.]+)",
 | 
						|
    "autoupdate": {
 | 
						|
        "url": "https://www.tc4shell.com/binary/Modern7z.zip"
 | 
						|
    }
 | 
						|
}
 |