Environment Variables
More actions
Environment Variables can be specified on your system at a process and system level to affect how Resonite operates.
SKYFROST_NO_PROXY
Setting SKYFROST_NO_PROXY to any value other than empty will prevent SkyFrost from using any Proxy configuration.
This can be useful on test machines, where proxy configuration might be tricky to validate. You can read more about this on the original issue.
Coming Soon
FROOXENGINE_LOGS_ALWAYS_FLUSH
Setting this to any value other than empty, will turn on our logger's "Always Flush" capability, which can be useful for diagnosing and debugging Resonite crashes that leave log files truncated.
FROOXENGINE_CACHE_DIR & FROOXENGINE_DATA_DIR
Setting these to valid paths on your computer will override the locations of your Data and cache directories for any instance of Resonite/FrooxEngine on your machine.
For example:
[Environment]::SetEnvironmentVariable('FROOXENGINE_CACHE_DIR', 'X:\FrooxEngine\Cache', 'Machine')
Headless Authentication
By setting these, you can enable your Headless Instance to login:
RESONITE_HEADLESS_USERNAMERESONITE_HEADLESS_PASSWORD
This can be useful for Infrastructure as Code setups where you want to check your Configuration File into a version control system but need to avoid exposing your credentials.
This was originally requested by ProbablePrime in GitHub Issue 6347 and was implemented to aid with business development.
Setting variables
Windows
- PowerShell
- Machine Level -
[Environment]::SetEnvironmentVariable('SKYFROST_NO_PROXY', 'true', 'Machine') - User Level -
[Environment]::SetEnvironmentVariable('SKYFROST_NO_PROXY', 'true', 'User')
- Machine Level -
Linux
You can:
- Add the environment variable to
/etc/environment - Add it to your user profile
/etc/profile