{
    "version": "152.0a1.20260506085915",
    "description": "Nightly builds of Firefox: the popular open source web browser.",
    "homepage": "https://www.mozilla.org/en-US/firefox/nightly/",
    "license": "MPL-2.0",
    "notes": [
        "To set profile 'Scoop-Nightly' as *DEFAULT*, or profiles/settings was lost after update:",
        "  - Run 'Firefox Nightly Profile Manager', choose 'Scoop-Nightly' then click 'Start Nightly'.",
        "  - Visit 'about:profiles' page in Firefox Nightly 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/nightly/2026/05/2026-05-06-08-59-15-mozilla-central/firefox-152.0a1.en-US.win64.installer.exe#/dl.7z",
            "hash": "sha512:cc8c96839ad5555c8924e7f49592b2f383ecf6b47f8bea7979a935ba19c271e3d9947b5e3c0d79e2e7be00d0b2aed43afd03a98e941e14604cc4d072e9a107be"
        },
        "32bit": {
            "url": "https://archive.mozilla.org/pub/firefox/nightly/2026/05/2026-05-06-08-59-15-mozilla-central/firefox-152.0a1.en-US.win32.installer.exe#/dl.7z",
            "hash": "sha512:a4b2d74a464f8b04eefeaed2f87a4cb2ae7b10a1e09fc13cc3b2ec7c20815951b41d44a83479b603ccbbb8d0d9a1657305c2bf1bc90554c57aba375b652d5dd0"
        }
    },
    "extract_dir": "core",
    "post_install": [
        "firefox-nightly -CreateProfile \"Scoop-Nightly $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-nightly"
        ]
    ],
    "shortcuts": [
        [
            "firefox.exe",
            "Firefox Nightly"
        ],
        [
            "firefox.exe",
            "Firefox Nightly Profile Manager",
            "-P"
        ]
    ],
    "persist": [
        "distribution",
        "profile"
    ],
    "checkver": {
        "url": "https://aus5.mozilla.org/update/6/Firefox/60.0/_/WINNT_x86_64-msvc-x64/en-US/nightly/_/_/_/_/update.xml",
        "regex": "appVersion=\"([\\w.]+)\".*?buildID=\"((?<yyyy>\\d{4})(?<mm>\\d{2})(?<dd>\\d{2})(?<hr>\\d{2})(?<mi>\\d{2})(?<se>\\d{2}))",
        "replace": "${1}.${2}"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://archive.mozilla.org/pub/firefox/nightly/$matchYyyy/$matchMm/$matchYyyy-$matchMm-$matchDd-$matchHr-$matchMi-$matchSe-mozilla-central/firefox-$majorVersion.$minorVersion.en-US.win64.installer.exe#/dl.7z",
                "hash": {
                    "url": "$baseurl/firefox-$majorVersion.$minorVersion.en-US.win64.checksums"
                }
            },
            "32bit": {
                "url": "https://archive.mozilla.org/pub/firefox/nightly/$matchYyyy/$matchMm/$matchYyyy-$matchMm-$matchDd-$matchHr-$matchMi-$matchSe-mozilla-central/firefox-$majorVersion.$minorVersion.en-US.win32.installer.exe#/dl.7z",
                "hash": {
                    "url": "$baseurl/firefox-$majorVersion.$minorVersion.en-US.win32.checksums"
                }
            }
        }
    }
}
