Commit 0dff81a
Fix CEF_API_HASH_PLATFORM missing from cef_version_macarm64.h
cmake_prepare_pyx.py reads CEF_API_HASH_PLATFORM and CEF_API_HASH_UNIVERSAL
from the platform version header. The standard cef_version.h shipped with
the CEF binary distribution does not contain these fields — they live in
cef_api_versions.h under an OS_MAC platform guard.
Fix: hard-code the correct macOS experimental-API hash (CEF_API_VERSION
999999) sourced from cef_api_versions.h in the Windows binary
(OS_MAC guard: 6fc5fada42e6b3e5b09a3a40f66da555cdbd8d5e). Both Intel
and ARM64 macOS share this value as CEF uses a single OS_MAC define.
Also remove the "Update version header from downloaded CEF" CI step that
copied the stripped cef_version.h (no API hash) over our crafted header,
causing the KeyError at build time.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3a7e09d commit 0dff81a
2 files changed
Lines changed: 5 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 59 | | |
65 | 60 | | |
66 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments