Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up files to export platform dependent values #2

Open
YJDoc2 opened this issue Jan 23, 2021 · 0 comments
Open

Set up files to export platform dependent values #2

YJDoc2 opened this issue Jan 23, 2021 · 0 comments
Labels

Comments

@YJDoc2
Copy link
Collaborator

YJDoc2 commented Jan 23, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant