Skip to content

Commit

Permalink
Opt-in to setAppsLogPath
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk committed Aug 28, 2019
1 parent f719e7a commit 6764033
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/browser/main.js
Expand Up @@ -35,6 +35,7 @@ app.setPath('userCache', opts.cache)

if (!opts.logs) {
try {
app.setAppLogsPath()
opts.logs = join(app.getPath('logs', '..', exe))
} catch (_) {
opts.logs = join(opts.data, 'log')
Expand Down

0 comments on commit 6764033

Please sign in to comment.