mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 01:08:10 +02:00
Only test bundled CA certs on macOS
This commit is contained in:
@@ -185,8 +185,7 @@ class Freeze(object):
|
||||
def add_ca_certs(self):
|
||||
print('\nDownloading CA certs...')
|
||||
from urllib.request import urlopen
|
||||
ca_certs_url = 'https://curl.haxx.se/ca/cacert.pem'
|
||||
certs = urlopen(ca_certs_url).read()
|
||||
certs = urlopen(kitty_constants['cacerts_url']).read()
|
||||
dest = os.path.join(self.contents_dir, 'Resources', 'cacert.pem')
|
||||
with open(dest, 'wb') as f:
|
||||
f.write(certs)
|
||||
|
||||
Reference in New Issue
Block a user