Api/minux.setconfig()

From Minux Wiki
Jump to navigation Jump to search

minux api used to change the system's configuration


usage:

local bool = minux.setconfig(type, setting)


Arguments:

- login , setting | setting can be: "network", "local", "disabled" -

- update, setting | setting can be: "always, "enabled", "disabled"

- ui , setting | setting can be: "prompt", "menu" or "workspace"

- debug, setting | setting can be: "disabled", "enabled", "logging", "full"


output:

returns false if failed, true if success


eg:

local temp = minux.config("login","disabled") - disabled this machine's login setting and returns output in temp