homebridge-melcloud-control 4.5.6-beta.3 → 4.5.6-beta.5
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.
- package/package.json +1 -1
- package/src/functions.js +4 -6
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.5.6-beta.
|
|
4
|
+
"version": "4.5.6-beta.5",
|
|
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
|
@@ -147,12 +147,10 @@ class Functions extends EventEmitter {
|
|
|
147
147
|
if (isDocker) {
|
|
148
148
|
try {
|
|
149
149
|
await execPromise(`
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
apt update -y &&
|
|
155
|
-
apt install -y google-chrome-stable
|
|
150
|
+
apt-get update -y &&
|
|
151
|
+
apt-get install -y wget ca-certificates &&
|
|
152
|
+
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&
|
|
153
|
+
apt-get install -y ./google-chrome-stable_current_amd64.deb
|
|
156
154
|
`);
|
|
157
155
|
} catch (error) {
|
|
158
156
|
if (this.logError) this.emit('error', `Chrome install error: ${error}`);
|