mirror of https://github.com/keeweb/keeweb
fix #1530: running from directories with hash symbols
parent
d7ee936b27
commit
9a8f1ad508
|
@ -1,6 +1,7 @@
|
|||
const electron = require('electron');
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const url = require('url');
|
||||
|
||||
let perfTimestamps = global.perfTimestamps;
|
||||
perfTimestamps.push({ name: 'loading app requires', ts: process.hrtime() });
|
||||
|
@ -36,7 +37,9 @@ setUserDataPaths();
|
|||
let openFile = process.argv.filter((arg) => /\.kdbx$/i.test(arg))[0];
|
||||
|
||||
const htmlPath =
|
||||
(isDev && process.env.KEEWEB_HTML_PATH) || 'file://' + path.join(__dirname, 'index.html');
|
||||
(isDev && process.env.KEEWEB_HTML_PATH) ||
|
||||
url.format({ protocol: 'file', slashes: true, pathname: path.join(__dirname, 'index.html') });
|
||||
|
||||
const showDevToolsOnStart =
|
||||
process.argv.some((arg) => arg.startsWith('--devtools')) ||
|
||||
process.env.KEEWEB_OPEN_DEVTOOLS === '1';
|
||||
|
|
|
@ -2,6 +2,7 @@ Release notes
|
|||
-------------
|
||||
##### v1.15.2 (TBD)
|
||||
`-` fix #1530: recursive creation of the portable directory
|
||||
`-` fix #1530: running from directories with hash symbols
|
||||
|
||||
##### v1.15.1 (2020-06-07)
|
||||
`-` fix #1528: OTP generation for stored values
|
||||
|
|
Loading…
Reference in New Issue