Skip to content

Commit

Permalink
fix ps in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
v1ll4n committed Jan 13, 2022
1 parent 1844c3f commit 6d758c7
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion app/main/handlers/libs/ps-yak-process.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const windows = async () => {
throw new Error(`Unsupported architecture: ${process.arch}`);
}

const binPath = path.join(__dirname, 'vendor', bin);
const binPath = path.join(__dirname, 'extVendor', bin);
const {stdout} = await execFile(binPath, {
maxBuffer: TEN_MEGABYTES,
windowsHide: true
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"electron-updater": "^4.3.9",
"google-protobuf": "^3.17.3",
"process": "^0.11.10",
"ps-list": "^7.2.0",
"request": "^2.88.2",
"request-progress": "^3.0.0",
"sudo-prompt": "^9.2.1",
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1872,11 +1872,6 @@ protoc-gen-ts@^0.3.9:
resolved "https://registry.nlark.com/protoc-gen-ts/download/protoc-gen-ts-0.3.9.tgz"
integrity sha1-XsfSdU1DxHhyJ2CJc+myOvpxnqc=

ps-list@^7.2.0:
version "7.2.0"
resolved "https://registry.nlark.com/ps-list/download/ps-list-7.2.0.tgz#3d110e1de8249a4b178c9b1cf2a215d1e4e42fc0"
integrity sha1-PREOHegkmksXjJsc8qIV0eTkL8A=

psl@^1.1.28:
version "1.8.0"
resolved "https://registry.nlark.com/psl/download/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24"
Expand Down

0 comments on commit 6d758c7

Please sign in to comment.