This commit is contained in:
2023-07-03 15:46:41 -04:00
parent ac214b808d
commit f183533b82

View File

@ -16,8 +16,10 @@ GNU General Public License for more details.
local mp = require('mp')
-- load the config file
dofile(mp.command_native({'expand-path', '~~/eatit-cfg.lua'}))
-- helper functions --
local function tablelength(T)
local count = 0
for _ in pairs(T) do count = count + 1 end
@ -76,6 +78,7 @@ local function checkupdates(i, pluginfile, pluginlink)
end
end
-- start install
local function startinstall()
logwrite('Starting Download...')
for i = 1, tablelength(plugins) do