ScoopInstaller_Main/bucket/emscripten.json
2022-08-25 16:30:43 +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": "3.1.20",
"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/3.1.20.zip",
"hash": "334e26ac1c0b32f26b8b85b09077eb88cc9493e0f69b9354f1656261cec2d244"
}
},
"extract_dir": "emsdk-3.1.20",
"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"
}
}