attempt to import win-ca on windows (#6136)
* attempt to import win-ca on windows
otherwise we won't see system x509 cert authorities, which leaves people
high and dry if they're using an enterprise mitm tls box (😢)
This commit is contained in:
@ -39,6 +39,9 @@ import {
|
||||
enableMenu,
|
||||
} from '@src/menu'
|
||||
|
||||
// If we're on Windows, pull the local system TLS CAs in
|
||||
require('win-ca')
|
||||
|
||||
let mainWindow: BrowserWindow | null = null
|
||||
|
||||
// Preemptive code, GC may delete a menu while a user is using it as seen in VSCode
|
||||
|
Reference in New Issue
Block a user