Log user data directory

This commit is contained in:
lilia 2017-04-13 18:24:10 -07:00 committed by Scott Nonnenberg
parent bdeee1d2b1
commit 46b0146a4c
No known key found for this signature in database
GPG key ID: A4931C09644C654B

View file

@ -57,8 +57,9 @@ const config = require('config');
// use a separate data directory for development
if (config.has('storageProfile')) {
app.setPath('userData', path.join(app.getPath('appData'),
'Signal-' + config.get('storageProfile')));
var userData = path.join(app.getPath('appData'), 'Signal-' + config.get('storageProfile'));
app.setPath('userData', userData);
console.log('userData ' + userData);
}
// Keep a global reference of the window object, if you don't, the window will