1. #1
    celestian's Avatar
    Join Date
    Jan 2017
    Location
    DFW, Texas
    Posts
    2,318

    OS type API call?

    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.
    Last edited by celestian; February 19th, 2020 at 06:11.
    ---
    Coding the Official AD&D Ruleset
    Documentation for AD&D 2E ruleset.
    My Twitch Channel for AD&D and FG related streams (See schedule for live days)
    My YouTube for FG related Tutorials and AD&D Actual Plays
    Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)

  2. #2
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in