From 281749853ac2f15ca282a2a00aa6c87fe99b14bb Mon Sep 17 00:00:00 2001 From: jensrot Date: Mon, 24 Aug 2026 19:55:21 +0200 Subject: [PATCH 1/2] Fix macOS native CEF bundle layout in PrepareJustCefNative PrepareJustCefNative copied the downloaded CEF archive's contents into a plainly-named cef/ output folder on every platform. On macOS the archive is actually a full app bundle (Contents/MacOS/, Contents/Frameworks/, etc.), and both JustCefProcess.GenerateSearchPaths() and CEF's own bundle-relative resource resolution (e.g. icudtl.dat) require that directory to literally be named *.app - a plain cef/ folder with identical contents isn't enough. Copy into justcefnative.app/ on macOS RIDs instead, matching what GenerateSearchPaths() already expects. Linux/Windows still use cef/, unchanged. --- cs/JustCef.csproj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cs/JustCef.csproj b/cs/JustCef.csproj index 322f754..986373e 100644 --- a/cs/JustCef.csproj +++ b/cs/JustCef.csproj @@ -42,6 +42,9 @@ $([System.IO.Path]::Combine('$(JustCefCacheRoot)','$(JustCefVersion)','$(JustCefRid)')) $([System.IO.Path]::Combine('$(JustCefCacheDir)','$(JustCefArchiveName)')) $([System.IO.Path]::Combine('$(JustCefCacheDir)','extracted')) + + justcefnative.app + cef @@ -84,7 +87,7 @@ - cef/%(_JustCefFiles.RecursiveDir)%(_JustCefFiles.Filename)%(_JustCefFiles.Extension) + $(JustCefOutputSubdir)/%(_JustCefFiles.RecursiveDir)%(_JustCefFiles.Filename)%(_JustCefFiles.Extension) PreserveNewest PreserveNewest From 7c28a7cf76cafff0da72d339f43e445750a16fbb Mon Sep 17 00:00:00 2001 From: jensrot Date: Mon, 24 Aug 2026 19:53:37 +0200 Subject: [PATCH 2/2] Removed line --- cs/JustCef.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/cs/JustCef.csproj b/cs/JustCef.csproj index 986373e..9f766c3 100644 --- a/cs/JustCef.csproj +++ b/cs/JustCef.csproj @@ -42,7 +42,6 @@ $([System.IO.Path]::Combine('$(JustCefCacheRoot)','$(JustCefVersion)','$(JustCefRid)')) $([System.IO.Path]::Combine('$(JustCefCacheDir)','$(JustCefArchiveName)')) $([System.IO.Path]::Combine('$(JustCefCacheDir)','extracted')) - justcefnative.app cef