Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
refactor: make app logs dir creation opt-in #17841
Description of Change
Previously, we were creating the app logs folder at a predefined location during initial electron startup, which meant that it had to be manually removed and prevented clean app portability. This refactors that implementation such that it's now an opt-in feature and developers must call
Alternatively, this could be done such that app log dir creation is still enabled by default, but can be disabled at the developers discretion although this would be notably more challenging. I'd love some feedback on which approach seems optimal!
Notes: Made app log directory creation opt-in with a new function