aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifest.json2
-rw-r--r--plugins/plugin_manager/init.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifest.json b/manifest.json
index b640d08..f21d73e 100644
--- a/manifest.json
+++ b/manifest.json
@@ -58,7 +58,7 @@
{
"url": "https://github.com/lite-xl/lite-xl-plugin-manager/releases/download/latest/lpm.x86_64-android",
"arch": "x86_64-android",
- "checksum": "bcc79ca26399de77bbb789ad61874aa71e855ac17c593fe3dd28294bdc14159f",
+ "checksum": "SKIP",
"optional": true
}
],
diff --git a/plugins/plugin_manager/init.lua b/plugins/plugin_manager/init.lua
index dcc987e..68e8d0b 100644
--- a/plugins/plugin_manager/init.lua
+++ b/plugins/plugin_manager/init.lua
@@ -250,7 +250,7 @@ function PluginManager:get_addon(name_and_version, options)
end
local match = false
for i, addon in ipairs(PluginManager.addons) do
- if not addon.mod_version or tostring(addon.mod_version) == tostring(rawget(_G, MOD_VERSION_MAJOR) or rawget(_G, MOD_VERSION)) and (addon.version == version or version == nil) then
+ if not addon.mod_version or tostring(addon.mod_version) == tostring(rawget(_G, "MOD_VERSION_MAJOR") or rawget(_G, "MOD_VERSION")) and (addon.version == version or version == nil) then
promise:resolve(addon)
match = true
break