diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-06-13 10:23:26 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-06-13 10:23:26 -0400 |
commit | c7cb1f224573e29658536f3c0f55bf920c51732f (patch) | |
tree | 5e65dac341505c8f024a37a38d2d9fff5d8203fd /src/lpm.lua | |
parent | e3c323c3622e2b9035b64f99609ae2380ce75b27 (diff) | |
download | lite-xl-plugin-manager-c7cb1f224573e29658536f3c0f55bf920c51732f.tar.gz lite-xl-plugin-manager-c7cb1f224573e29658536f3c0f55bf920c51732f.zip |
Added in version record.
Diffstat (limited to 'src/lpm.lua')
-rw-r--r-- | src/lpm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |