Log user data directory
This commit is contained in:
parent
bdeee1d2b1
commit
46b0146a4c
1 changed files with 3 additions and 2 deletions
5
main.js
5
main.js
|
@ -57,8 +57,9 @@ const config = require('config');
|
||||||
|
|
||||||
// use a separate data directory for development
|
// use a separate data directory for development
|
||||||
if (config.has('storageProfile')) {
|
if (config.has('storageProfile')) {
|
||||||
app.setPath('userData', path.join(app.getPath('appData'),
|
var userData = path.join(app.getPath('appData'), 'Signal-' + config.get('storageProfile'));
|
||||||
'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
|
// Keep a global reference of the window object, if you don't, the window will
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue