From bc528010382dfc443860e1b175e9a10088db7619 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Sat, 4 Feb 2023 14:40:35 -0500 Subject: Made things more backwards compatible, and added some additional fixes to view. --- plugins/plugin_manager/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/plugin_manager/init.lua') diff --git a/plugins/plugin_manager/init.lua b/plugins/plugin_manager/init.lua index 82e5442..eea9efb 100644 --- a/plugins/plugin_manager/init.lua +++ b/plugins/plugin_manager/init.lua @@ -80,7 +80,7 @@ end local function run(cmd, progress) table.insert(cmd, 1, config.plugins.plugin_manager.lpm_binary_path) table.insert(cmd, "--json") - table.insert(cmd, "--mod-version=" .. MOD_VERSION_MAJOR) + table.insert(cmd, "--mod-version=" .. (rawget(_G, "MOD_VERSION") or MOD_VERSION_STRING)) -- #workaround hack for new system. table.insert(cmd, "--quiet") table.insert(cmd, "--progress") table.insert(cmd, "--userdir=" .. USERDIR) -- cgit v1.2.3