Initial commit
This commit is contained in:
commit
209ba130c0
4852 changed files with 1517959 additions and 0 deletions
19
.config/lite-xl/libraries/nodejs/init.lua
Normal file
19
.config/lite-xl/libraries/nodejs/init.lua
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue