possibility to debug startup with `--start-logging`

This commit is contained in:
antelle 2020-06-09 19:36:18 +02:00
parent 0cc633c5c1
commit 1c3c194b3a
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
2 changed files with 3 additions and 2 deletions

View File

@ -24,8 +24,8 @@ const portableConfigFileName = 'keeweb-portable.json';
const isDev = !__dirname.endsWith('.asar');
const startupLogging =
process.argv.some((arg) => arg.startsWith('--start-logging')) ||
process.env.KEEWEB_START_LOGGING === '1';
process.argv.some((arg) => arg.startsWith('--startup-logging')) ||
process.env.KEEWEB_STARTUP_LOGGING === '1';
const gotTheLock = app.requestSingleInstanceLock();
if (!gotTheLock) {

View File

@ -3,6 +3,7 @@ Release notes
##### v1.15.2 (TBD)
`-` fix #1530: recursive creation of the portable directory
`-` fix #1530: running from directories with hash symbols
`+` possibility to debug startup with `--start-logging`
##### v1.15.1 (2020-06-07)
`-` fix #1528: OTP generation for stored values