diff --git a/app/lib/pty.ts b/app/lib/pty.ts index c08c60d4..a753e1a4 100644 --- a/app/lib/pty.ts +++ b/app/lib/pty.ts @@ -1,4 +1,4 @@ -import * as nodePTY from 'node-pty' +import * as nodePTY from '@tabby-gang/node-pty' import { StringDecoder } from './stringDecoder' import { v4 as uuidv4 } from 'uuid' import { ipcMain } from 'electron' diff --git a/app/package.json b/app/package.json index 71292ad1..baaab377 100644 --- a/app/package.json +++ b/app/package.json @@ -26,7 +26,7 @@ "keytar": "^7.7.0", "mz": "^2.7.0", "native-process-working-directory": "^1.0.2", - "node-pty": "^0.10.1", + "@tabby-gang/node-pty": "^0.11.0-beta.200", "npm": "6", "rxjs": "^7.2.0", "source-map-support": "^0.5.19", diff --git a/app/webpack.main.config.js b/app/webpack.main.config.js index e2790789..c2bdc6d0 100644 --- a/app/webpack.main.config.js +++ b/app/webpack.main.config.js @@ -45,7 +45,7 @@ module.exports = { mz: 'commonjs mz', npm: 'commonjs npm', 'node:os': 'commonjs os', - 'node-pty': 'commonjs node-pty', + '@tabby-gang/node-pty': 'commonjs @tabby-gang/node-pty', path: 'commonjs path', util: 'commonjs util', 'source-map-support': 'commonjs source-map-support', diff --git a/scripts/sentry-upload.js b/scripts/sentry-upload.js index 83e38619..315f98e0 100755 --- a/scripts/sentry-upload.js +++ b/scripts/sentry-upload.js @@ -9,7 +9,7 @@ sh.exec(`${sentryCli} releases new ${vars.version}`) if (process.platform === 'darwin') { for (const path of [ 'app/node_modules/@serialport/bindings/build/Release/bindings.node', - 'app/node_modules/node-pty/build/Release/pty.node', + 'app/node_modules/@tabby-gang/node-pty/build/Release/pty.node', 'app/node_modules/fontmanager-redux/build/Release/fontmanager.node', 'app/node_modules/macos-native-processlist/build/Release/native.node', ]) {