fix #1530: recursive creation of the portable directory

This commit is contained in:
antelle 2020-06-08 19:12:59 +02:00
parent 5081df4f2f
commit d7ee936b27
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
2 changed files with 4 additions and 1 deletions

View File

@ -574,7 +574,7 @@ function setUserDataPaths() {
const portableUserDataDir = path.resolve(portableConfigDir, portableConfig.userDataDir);
if (!fs.existsSync(portableUserDataDir)) {
fs.mkdirSync(portableUserDataDir);
fs.mkdirSync(portableUserDataDir, { recursive: true });
}
app.setPath('userData', portableUserDataDir);

View File

@ -1,5 +1,8 @@
Release notes
-------------
##### v1.15.2 (TBD)
`-` fix #1530: recursive creation of the portable directory
##### v1.15.1 (2020-06-07)
`-` fix #1528: OTP generation for stored values