From d088939f9797a9c5ea7c6972dcac5b0706c3fbfe Mon Sep 17 00:00:00 2001 From: Locietta Date: Wed, 25 Dec 2024 14:56:13 +0800 Subject: [PATCH] miniforge: Add 24.11.0-0 --- bucket/miniforge.json | 61 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 bucket/miniforge.json diff --git a/bucket/miniforge.json b/bucket/miniforge.json new file mode 100644 index 0000000..7a66919 --- /dev/null +++ b/bucket/miniforge.json @@ -0,0 +1,61 @@ +{ + "version": "24.11.0-0", + "description": "A conda-forge distribution", + "homepage": "https://github.com/conda-forge/miniforge", + "license": "BSD-3-Clause", + "notes": [ + "* Known issue:", + " - The App may fail to install when 'Long Paths' are not enabled, Check it by executing `scoop checkup`. (#11570)", + "------", + "From 4.6.0, conda has built the support for Cmd, Powershell or other shells.", + "Use \"conda init powershell\" or \"conda init __your_favorite_shell__\"" + ], + "architecture": { + "64bit": { + "url": "https://github.com/conda-forge/miniforge/releases/download/24.11.0-0/Miniforge3-24.11.0-0-Windows-x86_64.exe", + "hash": "2ff52375382190653349b4b957f753e559c8fd4a3a77f8b327d6fbb269bdd751" + } + }, + "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-Miniforge3.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/Miniforge3-$version-Windows-x86_64.exe", + "hash": { + "url": "$url.sha256" + } + } + } + } +}