-
-
Notifications
You must be signed in to change notification settings - Fork 5
HostOS
Anthony Headley edited this page Apr 19, 2020
·
1 revision
HostOS
Returns the current operating system
Name | Description | Optional |
---|
string: "Windows" if on Windows string: "Linux" if on Console string: "Mac" if on MacOS ...
local currentOS = HostOS()
Echo("OS = " .. currentOS)