Skip to content

Commit

Permalink
=chore: add support for windows os and browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
mohameedsherif committed May 15, 2024
1 parent dd3a048 commit 7b5b09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export async function addCertToSystemTrustStoreAndSaveCerts(
else if (platform === 'win32')
// Windows

await runCommand(`certutil -f -v -addstore -enterprise Root ${certPath}`)
await runCommand(`certutil -f -v -addstore -enterprise Root ${CAcertPath}`)
else if (platform === 'linux')
// Linux (This might vary based on the distro)
// for Ubuntu/Debian based systems
Expand Down

0 comments on commit 7b5b09e

Please sign in to comment.