{
    "##": "Deprecate this manifest after 2026-06-01.",
    "version": "24.11.0-0",
    "description": "A conda-forge distribution. (Deprecated, please use `extras/miniforge3` instead)",
    "homepage": "https://github.com/conda-forge/miniforge",
    "license": "BSD-3-Clause",
    "notes": [
        "As of June 2024, Mambaforge is deprecated and was retired in January 2025.",
        "For more information, see: https://github.com/conda-forge/miniforge#faq",
        "",
        "This manifest is deprecated and scheduled for removal on 2026-06-01. Please use `extras/miniforge3` instead.",
        "To migrate persisted environments from Mambaforge to Miniforge3, you can copy the contents of the 'envs' directory from the Mambaforge installation to the Miniforge3 installation."
    ],
    "architecture": {
        "64bit": {
            "url": "https://github.com/conda-forge/miniforge/releases/download/24.11.0-0/Mambaforge-24.11.0-0-Windows-x86_64.exe",
            "hash": "5bb092e9fa1bed273ab0493303c2afdd4ab7f441b525652ed1b339f0499a603b"
        }
    },
    "pre_install": "if ($dir -match ' ') { error 'The installation directory cannot include a space'; break}",
    "installer": {
        "script": [
            "Move-Item \"$dir\\$fname\" \"$dir\\..\\$fname\"",
            "Start-Process -Wait \"$dir\\..\\$fname\" -ArgumentList @('/S', '/InstallationType=JustMe', '/RegisterPython=0', '/AddToPath=0', '/NoRegistry=1', \"/D=$dir\")",
            "Remove-Item \"$dir\\..\\$fname\""
        ]
    },
    "env_add_path": [
        "scripts",
        "Library\\bin"
    ],
    "bin": [
        "python.exe",
        "pythonw.exe",
        [
            "python.exe",
            "python3"
        ]
    ],
    "persist": "envs",
    "uninstaller": {
        "script": [
            "Start-Process -Wait \"$dir\\Uninstall-Mambaforge.exe\" -ArgumentList '/S'",
            "# Workaround for 'envs' being deleted by the uninstaller. This does not affect persist.",
            "New-Item \"$dir\\envs\" -ItemType Directory | Out-Null"
        ]
    },
    "checkver": {
        "github": "https://github.com/conda-forge/miniforge",
        "regex": "tag/([\\d.-]+)"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/conda-forge/miniforge/releases/download/$version/Mambaforge-$version-Windows-x86_64.exe",
                "hash": {
                    "url": "$url.sha256"
                }
            }
        }
    }
}
