mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
More main process logging
// FREEBIE
This commit is contained in:
3
main.js
3
main.js
@@ -66,8 +66,8 @@ const config = require('config');
|
||||
if (config.has('storageProfile')) {
|
||||
var userData = path.join(app.getPath('appData'), 'Signal-' + config.get('storageProfile'));
|
||||
app.setPath('userData', userData);
|
||||
console.log('userData ' + userData);
|
||||
}
|
||||
console.log('userData ' + app.getPath('userData'));
|
||||
|
||||
// Keep a global reference of the window object, if you don't, the window will
|
||||
// be closed automatically when the JavaScript object is garbage collected.
|
||||
@@ -124,6 +124,7 @@ function createWindow () {
|
||||
}
|
||||
});
|
||||
mainWindow.webContents.on('will-navigate', function(e) {
|
||||
console.log('will-navigate');
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user