aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-07-04 10:29:34 -0400
committerAdam Harrison <adamdharrison@gmail.com>2023-07-04 10:29:34 -0400
commit4296fcfaf4803cea7921dd074e4fe03f390c10a7 (patch)
treeb11ddf74544c106e14a82b30cd65d0109bcc463e
parented800ce62f77a1c14a69173d09b9a75f8601b2dc (diff)
downloadlite-xl-plugin-manager-4296fcfaf4803cea7921dd074e4fe03f390c10a7.tar.gz
lite-xl-plugin-manager-4296fcfaf4803cea7921dd074e4fe03f390c10a7.zip
Added in ability to pull remotes while running.
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index df5aef7..5239797 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1642,7 +1642,7 @@ local function lpm_lite_xl_run(version, ...)
if arguments[i] == "--" then break end
local str = arguments[i]
if str:find("^http") then
- table.insert(repositories, 1, Repository.url(str):add())
+ table.insert(repositories, 1, Repository.url(str):add(AUTO_PULL_REMOTES))
else
local id, version = common.split(":", str)
local potentials = { system_bottle:get_addon(id, version, { mod_version = lite_xl.mod_version }) }