NovaOS's main namespace, containing the core functions and utilities. named "wd" due to NovaOS being based on WebDesk.
Namespaces
- controls
- The control center namespace.
Methods
static
clock() → {String}
Forces the clock to tick, and returns the current time in HH:MM:SS format.
Returns
-
StringThe current time in HH:MM:SS format.
Source
static
dark()
Switch to dark mode
Source
static
desktop(name, deskid, waitopt, waitFor) → {void}
The main function, responsible for the shell.
Parameters
-
name
Stringthe user's name
-
deskid
Stringthe novanet id for the current install.
-
waitopt
Booleanwhether to wait for a certain amount of time before starting the desktop
-
waitFor
Numberthe amount of time to wait before starting the desktop
Returns
-
voidThis function does not return anything.
Source
static
finishsetup()
Stores the user's name and sets parts of the filesystem
Source
static
light()
Switch to light mode
Source
static
reboot()
Reboot NovaOS