{
    "version": "34.2.2",
    "description": "Mozilla-derived web browser focusing on efficiency and customization",
    "homepage": "https://www.palemoon.org",
    "license": "MPL-2.0",
    "architecture": {
        "64bit": {
            "url": "https://rm-eu.palemoon.org/release/Palemoon-Portable-34.2.2.win64.exe#/palemoon.7z",
            "hash": "d5410b25a40f6cfecc78d08ce95a721c173cd84d01da221e08f9f3d470ec9240"
        },
        "32bit": {
            "url": "https://rm-eu.palemoon.org/release/Palemoon-Portable-34.2.2.win32.exe#/palemoon.7z",
            "hash": "00a5e251759ada9a885423d775154f8cdee2ba3979d7103f7eac62e868181625"
        }
    },
    "post_install": [
        "(Get-Content \"$dir\\Palemoon-Portable.ini\") -replace 'ShowSplash=true','ShowSplash=false' | Set-Content \"$dir\\Palemoon-Portable.ini\"",
        "if (!(Test-Path \"$dir\\User\\Palemoon\\Profiles\") -and (Test-Path \"$env:AppData\\Moonchild Productions\\Pale Moon\\Profiles\")) {",
        "    mkdir \"$dir\\User\\Palemoon\" -ErrorAction SilentlyContinue",
        "    Copy-Item \"$env:AppData\\Moonchild Productions\\Pale Moon\\Profiles\" \"$dir\\User\\Palemoon\" -Recurse",
        "}"
    ],
    "bin": [
        [
            "Palemoon-Portable.exe",
            "palemoon"
        ]
    ],
    "shortcuts": [
        [
            "Palemoon-Portable.exe",
            "Pale Moon"
        ]
    ],
    "persist": [
        "Backups",
        "Downloads",
        "User"
    ],
    "checkver": {
        "url": "https://www.palemoon.org/download.shtml",
        "regex": "Hashes for release ([\\d.]+)"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://rm-eu.palemoon.org/release/Palemoon-Portable-$version.win64.exe#/palemoon.7z"
            },
            "32bit": {
                "url": "https://rm-eu.palemoon.org/release/Palemoon-Portable-$version.win32.exe#/palemoon.7z"
            }
        },
        "hash": {
            "url": "https://www.palemoon.org/download.shtml",
            "regex": "$basename\\s+$sha256"
        }
    }
}
