mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-30 22:17:00 +00:00
fixed windows-process-tree dep
This commit is contained in:
@@ -30,5 +30,8 @@
|
|||||||
"terminus-core": "*",
|
"terminus-core": "*",
|
||||||
"terminus-settings": "*",
|
"terminus-settings": "*",
|
||||||
"terminus-terminal": "*"
|
"terminus-terminal": "*"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"@terminus-term/windows-process-tree": "^0.2.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -12,7 +12,7 @@ import { PasswordStorageService } from './passwordStorage.service'
|
|||||||
import { SSH2Stream } from 'ssh2-streams'
|
import { SSH2Stream } from 'ssh2-streams'
|
||||||
|
|
||||||
try {
|
try {
|
||||||
var windowsProcessTreeNative = require('windows-process-tree/build/Release/windows_process_tree.node') // eslint-disable-line @typescript-eslint/no-var-requires
|
var windowsProcessTreeNative = require('@terminus-term/windows-process-tree/build/Release/windows_process_tree.node') // eslint-disable-line @typescript-eslint/no-var-requires
|
||||||
} catch { }
|
} catch { }
|
||||||
|
|
||||||
@Injectable({ providedIn: 'root' })
|
@Injectable({ providedIn: 'root' })
|
||||||
|
Reference in New Issue
Block a user