diff --git a/lib/main.js b/lib/main.js index 03602d7..310114c 100644 --- a/lib/main.js +++ b/lib/main.js @@ -91,7 +91,8 @@ const HydrogenLauncher = { const connectionFile = this.getConnectionFile(); if (!connectionFile) return; - term.getConnectionCommand(connectionFile, (err, command) => { + const jpConsole = atom.config.get('hydrogen-launcher.console'); + term.getConnectionCommand(connectionFile, jpConsole, (err, command) => { if (!this.platformIoTerminal) { atom.notifications.addError('PlatformIO IDE Terminal has to be installed.'); } else if (err) {