vfox 2026.4.5

Interface to vfox plugins
Documentation
1
2
3
4
5
6
7
8
9
10
11
--- Returns pre-install information for Lua
--- @param ctx table Context provided by vfox
--- @return table Pre-install info
function PLUGIN:PreInstall(ctx)
    local version = ctx.version

    return {
        version = version,
        url = "https://www.lua.org/ftp/lua-" .. version .. ".tar.gz",
    }
end