homebridge-melcloud-control 4.5.6-beta.4 → 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 -15
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,21 +147,10 @@ class Functions extends EventEmitter {
|
|
|
147
147
|
if (isDocker) {
|
|
148
148
|
try {
|
|
149
149
|
await execPromise(`
|
|
150
|
-
apt update -y &&
|
|
151
|
-
apt install -y wget
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
wget -qO- https://dl.google.com/linux/linux_signing_key.pub \
|
|
155
|
-
| gpg --dearmor \
|
|
156
|
-
| tee /etc/apt/keyrings/google-chrome.gpg > /dev/null &&
|
|
157
|
-
|
|
158
|
-
chmod 644 /etc/apt/keyrings/google-chrome.gpg &&
|
|
159
|
-
|
|
160
|
-
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/google-chrome.gpg] https://dl.google.com/linux/chrome/deb/ stable main" \
|
|
161
|
-
> /etc/apt/sources.list.d/google-chrome.list &&
|
|
162
|
-
|
|
163
|
-
apt update -y &&
|
|
164
|
-
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
|
|
165
154
|
`);
|
|
166
155
|
} catch (error) {
|
|
167
156
|
if (this.logError) this.emit('error', `Chrome install error: ${error}`);
|