{
    "version": "151.0b7",
    "description": "Beta builds of Firefox: the popular open source web browser.",
    "homepage": "https://www.firefox.com/en-US/channel/desktop/#beta",
    "license": "MPL-2.0",
    "notes": [
        "To set profile 'Scoop-Beta' as *DEFAULT*, or profiles/settings was lost after update:",
        "  - Run 'Firefox Beta Profile Manager', choose 'Scoop-Beta' then click 'Start Firefox'.",
        "  - Visit 'about:profiles' page in Firefox Beta to check *DEFAULT* profile.",
        "For details: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles"
    ],
    "architecture": {
        "64bit": {
            "url": "https://archive.mozilla.org/pub/firefox/releases/151.0b7/win64/en-US/Firefox%20Setup%20151.0b7.exe#/dl.7z",
            "hash": "sha512:fee83b89a5fe05009791ba8282819de11d16702fcbb9e756ec358bd7d64af56bd4304b68ee526e19c9d3ff326bf51ca0d4dc3f2f7b226bbefd00ba3cf4fa1ceb"
        },
        "32bit": {
            "url": "https://archive.mozilla.org/pub/firefox/releases/151.0b7/win32/en-US/Firefox%20Setup%20151.0b7.exe#/dl.7z",
            "hash": "sha512:d5a0f26512556d9254145d7d08bbe5eaff6767353c32653c2bee8fcd0638b424c25457eb6c3f1c22f70832880cc6717f9b5c1de0e3e09a4a44bf06d14d4421db"
        }
    },
    "extract_dir": "core",
    "post_install": [
        "firefox-beta -CreateProfile \"Scoop-Beta $persist_dir\\profile\"",
        "$Addition = \"$persist_dir\\addition\"",
        "if (Test-Path $Addition) {",
        "  info 'Copying additional items...'",
        "  Copy-Item -Path $Addition\\* -Destination $dir -Force -Recurse -ErrorAction SilentlyContinue",
        "}"
    ],
    "bin": [
        [
            "firefox.exe",
            "firefox-beta"
        ]
    ],
    "shortcuts": [
        [
            "firefox.exe",
            "Firefox Beta"
        ],
        [
            "firefox.exe",
            "Firefox Beta Profile Manager",
            "-P"
        ]
    ],
    "persist": [
        "distribution",
        "profile"
    ],
    "checkver": {
        "url": "https://product-details.mozilla.org/1.0/firefox_versions.json",
        "jsonpath": "$.LATEST_FIREFOX_RELEASED_DEVEL_VERSION"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://archive.mozilla.org/pub/firefox/releases/$version/win64/en-US/Firefox%20Setup%20$version.exe#/dl.7z",
                "hash": {
                    "url": "https://archive.mozilla.org/pub/firefox/releases/$version/SHA512SUMS",
                    "regex": "$sha512\\s+win64/en-US/$basename"
                }
            },
            "32bit": {
                "url": "https://archive.mozilla.org/pub/firefox/releases/$version/win32/en-US/Firefox%20Setup%20$version.exe#/dl.7z",
                "hash": {
                    "url": "https://archive.mozilla.org/pub/firefox/releases/$version/SHA512SUMS",
                    "regex": "$sha512\\s+win32/en-US/$basename"
                }
            }
        }
    }
}
