1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

Electron: Fixed vertical scrollbar, and added option to display dev tool in prod

This commit is contained in:
Laurent Cozic
2017-11-17 18:02:01 +00:00
parent 4bb9be8f78
commit 43bc7b5619
9 changed files with 24 additions and 10 deletions

View File

@ -93,6 +93,12 @@ class BaseApplication {
continue;
}
if (arg == '--open-dev-tools') {
Setting.setConstant('openDevTools', true);
argv.splice(0, 1);
continue;
}
if (arg == '--update-geolocation-disabled') {
Note.updateGeolocationEnabled_ = false;
argv.splice(0, 1);
@ -338,8 +344,6 @@ class BaseApplication {
this.dbLogger_.setLevel(Logger.LEVEL_DEBUG);
}
// const packageJson = require('./package.json');
// this.logger_.info(sprintf('Starting %s %s (%s)...', packageJson.name, packageJson.version, Setting.value('env')));
this.logger_.info('Profile directory: ' + profileDir);
this.database_ = new JoplinDatabase(new DatabaseDriverNode());