From c7cb1f224573e29658536f3c0f55bf920c51732f Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Tue, 13 Jun 2023 10:23:26 -0400 Subject: Added in version record. --- src/lpm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lpm.lua b/src/lpm.lua index 9863595..f116629 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -2174,7 +2174,7 @@ not commonly used publically. -- Base setup; initialize default repos if applicable, read them in. Determine Lite XL system binary if not specified, and pull in a list of all local lite-xl's. engage_locks(function() - settings = { lite_xls = {}, repositories = {}, installed = {} } + settings = { lite_xls = {}, repositories = {}, installed = {}, version = VERSION } lpm_repo_init(ARGS[2] == "init" and #ARGS > 2 and (ARGS[3] ~= "none" and common.map(common.slice(ARGS, 3), function(url) return Repository.url(url) end) or {}) or nil) repositories, lite_xls = {}, {} if system.stat(CACHEDIR .. PATHSEP .. "settings.json") then settings = json.decode(common.read(CACHEDIR .. PATHSEP .. "settings.json")) end -- cgit v1.2.3