lovr.system.getOS

Edit

Returns the current operating system.

os = lovr.system.getOS()

Arguments

None

Returns

NameTypeDescription
osstring Either "Windows", "macOS", "Linux", "Android" or "Web".

See also