1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Fixed share service on CLI

This commit is contained in:
Laurent Cozic 2021-12-21 18:52:27 +01:00
parent 6b6574e7c9
commit d458bd115e

View File

@ -418,6 +418,8 @@ class Application extends BaseApplication {
return this.stdout(object);
});
this.initRedux();
// If we have some arguments left at this point, it's a command
// so execute it.
if (argv.length) {
@ -448,8 +450,6 @@ class Application extends BaseApplication {
process.exit(0);
} else {
// Otherwise open the GUI
this.initRedux();
const keymap = await this.loadKeymaps();
const AppGui = require('./app-gui.js');