Compatibility
This tool ensures that the engine can work on all operating systems with minimal changes required.
Functions
grabPath()
This function will return the root path of the cauldron (.cauldron) folder.
You can change the root path by setting the environment variable
CAULDRON_PATH
to the desired path.
Example:C:\Users\User\projects\Cauldron\.cauldron
getOperatingSystem (isJVM)
This function returns the current users operating system.
It takes the following parameters:
isJVM
: States whether the operating system needs to be converted into a format that matches with the operating systems stated in JVM files.