Skip to content

Commit

Permalink
#1086 update node-pty
Browse files Browse the repository at this point in the history
  • Loading branch information
oznu committed Feb 18, 2021
1 parent e671507 commit 1e55592
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,27 @@

All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/).

## NEXT

### Bug Fixes

* Fixed an issue running the UI on Linux systems without outdated `libstdc++` libraries ([#1086](https://github.com/oznu/homebridge-config-ui-x/issues/1086))

## 4.39.0 (2021-02-15)

### Other Changes

* **Plugins:** Added the ability to view and edit the raw JSON config for an individual plugin (accessed via the spanner drop down on the plugin tile, non-mobile devices only)
* **Plugins:** Limited the plugin update check concurrency to the number of CPU cores, this should reduce the chance of an update check timeout for users on low powered devices (such as the Raspberry Pi Zero W) ([#1020](https://github.com/issues/homebridge-config-ui-x/pull/1020))
* **Backups:** Scheduled backups now happen at a random time between 12am and 6am in your server's local timezone (instead of 1:15am) - the next backup time will be shown in the UI on the Scheduled Backups modal ([#1020](https://github.com/issues/homebridge-config-ui-x/pull/1020))
* **Plugins:** Limited the plugin update check concurrency to the number of CPU cores, this should reduce the chance of an update check timeout for users on low powered devices (such as the Raspberry Pi Zero W) ([#1020](https://github.com/oznu/homebridge-config-ui-x/issues/1020))
* **Backups:** Scheduled backups now happen at a random time between 12am and 6am in your server's local timezone (instead of 1:15am) - the next backup time will be shown in the UI on the Scheduled Backups modal ([#1020](https://github.com/oznu/homebridge-config-ui-x/issues/1020))
* **i18n:** Improvements to Simplified Chinese language translations ([#1062](https://github.com/oznu/homebridge-config-ui-x/pull/1062))
* **i18n:** Improvements to Portuguese language translations ([#1069](https://github.com/oznu/homebridge-config-ui-x/pull/1069))
* **i18n:** Improvements to Polish language translations ([#1072](https://github.com/oznu/homebridge-config-ui-x/pull/1072))
* **i18n:** Improvements to French language translations ([#1074](https://github.com/oznu/homebridge-config-ui-x/pull/1074))

### Bug Fixes

* **Accessory Control:** Irrigation systems now only show as running when they are running ([#1056](https://github.com/issues/homebridge-config-ui-x/pull/1056))
* **Accessory Control:** Irrigation systems now only show as running when they are running ([#1056](https://github.com/oznu/homebridge-config-ui-x/issues/1056))

### Homebridge v1.3.0 Features

Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "homebridge-config-ui-x",
"displayName": "Homebridge UI",
"version": "4.39.0",
"version": "4.39.1-test.1",
"description": "A web based management, configuration and control platform for Homebridge",
"license": "MIT",
"author": "oznu <[email protected]>",
Expand Down Expand Up @@ -70,7 +70,7 @@
"fs-extra": "9.1.0",
"helmet": "4.4.1",
"node-cache": "^5.1.2",
"node-pty-prebuilt-multiarch": "0.10.1-pre.2",
"node-pty-prebuilt-multiarch": "0.10.1-pre.3",
"node-schedule": "^1.3.2",
"ora": "5.3.0",
"p-limit": "3.1.0",
Expand Down
3 changes: 2 additions & 1 deletion src/self-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ function main() {
}

function tryRebuildNodePtyModule() {
const modulePath = path.dirname(path.dirname(require.resolve('node-pty-prebuilt-multiarch')));
// using eval('require') here so it does not break with webpack
const modulePath = path.dirname(path.dirname(eval('require').resolve('node-pty-prebuilt-multiarch')));

logger.warn('[node-pty] Trying to rebuild automatically...');
logger.warn(`[node-pty] Path: ${modulePath}`);
Expand Down

0 comments on commit 1e55592

Please sign in to comment.