diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-11-27 11:50:37 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-11-27 11:50:37 -0500 |
commit | 2817b43ec5d727cf89655d799cfadb42fcf0eadb (patch) | |
tree | df4aa63fd996c627c843cda67efeea769cab183c | |
parent | 239fb370256627dc5ae14ac6a84f44e65f5f1780 (diff) | |
download | lite-xl-plugin-manager-2817b43ec5d727cf89655d799cfadb42fcf0eadb.tar.gz lite-xl-plugin-manager-2817b43ec5d727cf89655d799cfadb42fcf0eadb.zip |
Added in fallback for any plugin lacking a modversion to describe themselves as the latest modversion.
-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 c2d5f3a..fa216a4 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1798,7 +1798,7 @@ local function print_addon_info(type, addons, filters) remote = addon.remote, description = addon.description, author = addon.author or (addon:is_core(system_bottle) and "lite-xl") or nil, - mod_version = addon.mod_version, + mod_version = addon.mod_version or LATEST_MOD_VERSION, tags = addon.tags, type = addon.type, organization = addon.organization, |