refactor: make app logs dir creation opt-in (#17841)
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 app.setAppLogsPath(path) with an optional custom path in order to set this directory.
This commit is contained in:
parent
841e31b7e6
commit
0749dc4cc1
8 changed files with 76 additions and 31 deletions
|
@ -88,7 +88,6 @@ class AtomBrowserMainParts : public content::BrowserMainParts {
|
|||
|
||||
private:
|
||||
void InitializeFeatureList();
|
||||
void OverrideAppLogsPath();
|
||||
void PreMainMessageLoopStartCommon();
|
||||
|
||||
#if defined(OS_POSIX)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue