ScoopInstaller_Main/bucket/emscripten.json
2025-05-01 00:43: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.8",
"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.8.zip",
"hash": "9b202da21b4402ec6e36406c15eb728eabd58afd4d4cbfd7fb300f2e48b6a0ab"
}
},
"extract_dir": "emsdk-4.0.8",
"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"
}
}