ScoopInstaller_Main/bucket/emscripten.json
2025-10-18 00:35:12 +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.17",
"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.17.zip",
"hash": "c73d404818066d9de035ac8dd542b9e99f3fccc6268f37477d586099a3abb5b9"
}
},
"extract_dir": "emsdk-4.0.17",
"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"
}
}