Skip to content

Commit

Permalink
=chore: add support to macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mohameedsherif committed May 15, 2024
1 parent 7b5b09e commit c20e05a
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 @@ -234,7 +234,7 @@ export async function addCertToSystemTrustStoreAndSaveCerts(

if (platform === 'darwin')
// macOS
await runCommand(`sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ${certPath}`)
await runCommand(`sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ${CAcertPath}`)
else if (platform === 'win32')
// Windows

Expand Down

0 comments on commit c20e05a

Please sign in to comment.