homebridge-melcloud-control 4.4.1-beta.15 → 4.4.1-beta.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/functions.js +6 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.4.1-beta.15",
4
+ "version": "4.4.1-beta.16",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
package/src/functions.js CHANGED
@@ -143,10 +143,14 @@ class Functions extends EventEmitter {
143
143
 
144
144
  if (!isDocker) {
145
145
  try {
146
+ this.emit('debug', `Try install chromium`);
146
147
  await execPromise('sudo apt-get update -y');
147
- await execPromise('sudo apt-get install -y chromium chromium-browser chromium-codecs-ffmpeg || true');
148
+ await execPromise('sudo apt-get install -y chromium || true');
149
+ await execPromise('sudo apt-get install -y chromium-browser chromium-codecs-ffmpeg || true');
148
150
  await execPromise('sudo apt-get install -y libnspr4 libnss3 libx11-6 libxcomposite1 libxdamage1 libxrandr2 libatk1.0-0 libcups2 libdrm2 libgbm1 libasound2 || true');
149
- } catch { }
151
+ } catch (error) {
152
+ this.emit('debug', `Install chromium failed ${error}`);
153
+ }
150
154
  }
151
155
 
152
156
  for (const path of armCandidates) {