PDA

View Full Version : OS type API call?



celestian
February 19th, 2020, 06:07
Is there an API call to get the OS type in FGU since it can run on Windows/Mac and Linux?

Since there are different methods of handling features such as sound we need to be able to know what OS we're under.

I tried just using os.getenv() but ... looks like we can't use that in FGC/U.

Moon Wizard
February 20th, 2020, 05:40
I think that the "os" library is specifically disabled for security sandboxing. I'll have to investigate, but this is probably something that will have to be looked at after first release.

Regards,
JPG