forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpatch.py
More file actions
29 lines (25 loc) · 819 Bytes
/
patch.py
File metadata and controls
29 lines (25 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# CEF Python patches to Chromium and CEF.
# See upstream cef/patch/patch.cfg for how patching works in CEF.
# Current working directory is cef_build_dir/chromium/cef/ .
# See also docs/Build-instructions.md and tools/automate.py .
import platform
OS_POSTFIX = ("win" if platform.system() == "Windows" else
"linux" if platform.system() == "Linux" else
"mac" if platform.system() == "Darwin" else "unknown")
# ALL PLATFORMS
# noinspection PyUnresolvedReferences
patches.extend([
{
# Fixes HTTPS cache problems with private certificates
'name': 'issue125',
'path': '../net/http/'
},
{
# Expose CefOverridePath to override PathService path keys
'name': 'issue231',
'path': './'
},
])
# LINUX
if OS_POSTFIX == "linux":
pass