homebridge-melcloud-control 4.0.0-beta.440 → 4.0.0-beta.441

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 +2 -8
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.0.0-beta.440",
4
+ "version": "4.0.0-beta.441",
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
@@ -77,14 +77,8 @@ class Functions {
77
77
 
78
78
  // --- macOS fallback ---
79
79
  if (osName === 'Darwin') {
80
- console.log('Running on macOS — using Puppeteer bundled Chromium');
81
-
82
- chromiumPath = puppeteer.executablePath();
83
- if (!chromiumPath) {
84
- console.log('Puppeteer bundled Chromium not found on macOS');
85
- throw new Error('Puppeteer bundled Chromium not found on macOS');
86
- }
87
-
80
+ console.log('Running on macOS — using system Chromium/Chrome');
81
+ chromiumPath = '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome';
88
82
  console.log(`Chromium path: ${chromiumPath}`);
89
83
  return chromiumPath;
90
84
  }