love.system.getOS
Gets the current operating system. In general, LÖVE abstracts away the need to know the current operating system, but there are a few cases where it can be useful (especially in combination with os.execute.)
osString = love.system.getOS()
osString string The current operating system. 'OS X', 'Windows', 'Linux', 'Android' or 'iOS'.