Initial commit

This commit is contained in:
Patrick Alvin Alcala 2025-06-26 16:53:43 +08:00
commit 209ba130c0
4852 changed files with 1517959 additions and 0 deletions

View file

@ -0,0 +1,19 @@
local info = {}
info.path_lib = USERDIR .. PATHSEP .. "libraries" .. PATHSEP .. "nodejs"
info.version = "node-v20.15.1"
info.path_arch = {}
info.path_arch["x86_64-linux"] = info.version .. "-linux-x64"
info.path_arch["x86_64-darwin"] = info.version .. "-darwin-x64"
info.path_arch["arm64-darwin"] = info.version .. "-darwin-arm64"
info.path_arch["x86_64-windows"] = info.version .. "-win-x64"
if PLATFORM == "Windows" then
info.path_bin = info.path_lib .. PATHSEP .. info.path_arch[ARCH] .. PATHSEP .. "node.exe"
else
info.path_bin = info.path_lib .. PATHSEP .. info.path_arch[ARCH] .. PATHSEP .. "bin" .. PATHSEP .. "node"
end
return info