{
    "version": "6.0.1701.0",
    "description": "The 7-Zip derivative intended for the modern Windows experience",
    "homepage": "https://github.com/M2Team/NanaZip",
    "license": "MIT",
    "architecture": {
        "64bit": {
            "url": "https://github.com/M2Team/NanaZip/releases/download/6.0.1701.0/NanaZip_6.0.1701.0.msixbundle#/dl.7z",
            "hash": "83e61e3bf8359f3aed5dba3487eae7c620b3ace48fc5d168af8b89221f067e78"
        },
        "arm64": {
            "url": "https://github.com/M2Team/NanaZip/releases/download/6.0.1701.0/NanaZip_6.0.1701.0.msixbundle#/dl.7z",
            "hash": "83e61e3bf8359f3aed5dba3487eae7c620b3ace48fc5d168af8b89221f067e78"
        }
    },
    "pre_install": [
        "Expand-7zipArchive -Path \"$dir\\*$(switch ($architecture) { '64bit' { 'x64' } 'arm64' { 'arm64' } }).msix\"",
        "Remove-Item -Path \"$dir\\*\" -Include '*.msix', 'Appx*', '?Content*', 'Code*' -Recurse -Force"
    ],
    "bin": [
        [
            "NanaZip.Universal.Console.exe",
            "7z"
        ],
        [
            "NanaZip.Universal.Windows.exe",
            "7zG"
        ]
    ],
    "shortcuts": [
        [
            "NanaZip.Modern.FileManager.exe",
            "NanaZip"
        ]
    ],
    "checkver": "github",
    "autoupdate": {
        "url": "https://github.com/M2Team/NanaZip/releases/download/$version/NanaZip_$version.msixbundle#/dl.7z",
        "hash": {
            "url": "https://github.com/M2Team/NanaZip/releases/tag/$version",
            "regex": "(?s)$basename.*?$sha256"
        }
    }
}
