vfox 2026.3.0

Interface to vfox plugins
Documentation
1
2
3
4
5
6
7
8
9
10
11
--- Returns pre-install information for PostgreSQL
--- @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://ftp.postgresql.org/pub/source/v" .. version .. "/postgresql-" .. version .. ".tar.gz",
    }
end