From fbc816cdad0934a5d85469af8e48afbb51279f4e Mon Sep 17 00:00:00 2001 From: Samuel Weibel Date: Mon, 15 Mar 2021 14:13:11 +0100 Subject: [PATCH] Disabling the license information during installation. Resolves #10 --- dist/index.js | 2 ++ src/index.ts | 3 +++ 2 files changed, 5 insertions(+) diff --git a/dist/index.js b/dist/index.js index 10bedd46..f3496b32 100644 --- a/dist/index.js +++ b/dist/index.js @@ -666,6 +666,8 @@ class DevServer { this.execSync(`${IOBROKER_COMMAND} stop ${this.adapterName} 0`, this.tempDir); this.log.notice('Disable statistics reporting'); this.execSync(`${IOBROKER_COMMAND} object set system.config common.diag="none"`, this.tempDir); + this.log.notice('Disable license confirmation'); + this.execSync(`${IOBROKER_COMMAND} object set system.config common.licenseConfirmed=true`, this.tempDir); this.log.notice('Disable missing info adapter warning'); this.execSync(`${IOBROKER_COMMAND} object set system.config common.infoAdapterInstall=true`, this.tempDir); } diff --git a/src/index.ts b/src/index.ts index 97c287e2..31fc07e3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -770,6 +770,9 @@ class DevServer { this.log.notice('Disable statistics reporting'); this.execSync(`${IOBROKER_COMMAND} object set system.config common.diag="none"`, this.tempDir); + this.log.notice('Disable license confirmation'); + this.execSync(`${IOBROKER_COMMAND} object set system.config common.licenseConfirmed=true`, this.tempDir); + this.log.notice('Disable missing info adapter warning'); this.execSync(`${IOBROKER_COMMAND} object set system.config common.infoAdapterInstall=true`, this.tempDir); }