fix: 🐛 Fix usage of spawn statements with boundary and node-pty (#1917)

This commit is contained in:
Zhihe Li committed 2023-09-22 18:58:15 -04:00
1 parent 5666564b05
commit 11dc3fb9c8
4 files changed
+16 -96

No files matched your search

+1 -1
View File
@@ -10,6 +10,6 @@ module.exports = {
// Returns boundary cli path
path: () => {
const name = isWindows() ? 'boundary.exe' : 'boundary';
return path.resolve(__dirname, '..', '..', 'cli', name);
return path.resolve(process.resourcesPath, 'cli', name);
},
};