Skip to content

Commit

Permalink
Disabling the license information during installation. Resolves #10
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleSamSwiss committed Mar 15, 2021
1 parent 5f4b3e6 commit fbc816c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit fbc816c

Please sign in to comment.