Create individual files which will export platform-specific values, one for Windows and one for Linux.
Make index.js for that folder which will conditionally export values depending on which platform it is run.
Some examples for the values would be path to save log files, path for user data etc.
Also set up the conditional tests for these exports to verify correct values are being exported on platforms.