ScoopInstaller_Main/bucket/emscripten.json
2025-10-24 20:29:34 +00:00

47 lines
1.5 KiB
JSON

{
"##": ".bat won't be able to modify shell sessions of PowerShell, Fish, Bash etc. Therefore env_add_path is required.",
"version": "4.0.18",
"description": "LLVM to WebAssembly compiler. Compiles C/C++ to WebAssembly that can be run on most web browsers.",
"homepage": "https://emscripten.org/",
"license": "MIT|NCSA",
"notes": [
"Run \"emsdk install latest\" and \"emsdk activate latest\" to set up emsdk.",
"For more details, check \"https://emscripten.org/docs/getting_started/downloads.html\""
],
"architecture": {
"64bit": {
"url": "https://github.com/emscripten-core/emsdk/archive/refs/tags/4.0.18.zip",
"hash": "6b0d3b57a1aef270ca18646ec1c5b61e60c575a9cd12d665a4cf377926a7f5f5"
}
},
"extract_dir": "emsdk-4.0.18",
"pre_install": "if(!(Test-Path \"$persist_dir\\.emscripten\")) {New-Item \"$dir\\.emscripten\" -ItemType File | Out-Null}",
"env_add_path": ".",
"shortcuts": [
[
"emcmdprompt.bat",
"EMScripten Command Prompt"
]
],
"persist": [
"java",
"node",
"python",
"upstream",
"zips",
".emscripten"
],
"checkver": {
"url": "https://github.com/emscripten-core/emsdk/tags",
"regex": "tag/([\\d.]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/emscripten-core/emsdk/archive/refs/tags/$version.zip"
}
},
"extract_dir": "emsdk-$version"
}
}