From 91aa3703d4d093f87769048b94681a32d3073f52 Mon Sep 17 00:00:00 2001 From: "Helmut K. C. Tessarek" Date: Thu, 29 Aug 2019 12:05:20 -0400 Subject: [PATCH] CLI: Fixes fatal error with cli 1.0.141 on start (#1791) - updated terminal-kit to 1.30.0 - do not call method, if object does not exist fixes #1778 --- CliClient/app/app-gui.js | 2 +- CliClient/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CliClient/app/app-gui.js b/CliClient/app/app-gui.js index d1d245359..b6e967f23 100644 --- a/CliClient/app/app-gui.js +++ b/CliClient/app/app-gui.js @@ -79,7 +79,7 @@ class AppGui { reg.setupRecurrentSync(); DecryptionWorker.instance().scheduleStart(); } catch (error) { - this.fullScreen(false); + if (this.term_) { this.fullScreen(false); } console.error(error); process.exit(1); } diff --git a/CliClient/package.json b/CliClient/package.json index 6fe353431..a48e7ce5e 100644 --- a/CliClient/package.json +++ b/CliClient/package.json @@ -70,6 +70,7 @@ "syswide-cas": "^5.2.0", "tar": "^4.4.10", "tcp-port-used": "^0.1.2", + "terminal-kit": "^1.30.0", "tkwidgets": "^0.5.26", "url-parse": "^1.4.7", "uuid": "^3.0.1",