1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-08-04 21:32:54 +02:00

Fixed issue #527 : Demo ExternalPumpBrowser Helper (GPU) crash on MacOs 14 Sonoma - Lazarus x86_64-darwin

This commit is contained in:
Salvador Díaz Fau
2024-09-09 13:16:03 +02:00
parent e2815ed2f4
commit a42f3dfd5f
8 changed files with 32 additions and 11 deletions

View File

@ -79,5 +79,8 @@
</Win32>
</Options>
</Linking>
<Other>
<CustomOptions Value="-WM11.0"/>
</Other>
</CompilerOptions>
</CONFIG>

View File

@ -27,6 +27,11 @@ begin
GlobalCEFApp.InitLibLocationFromArgs;
{$ENDIF}
GlobalCEFApp.UseMockKeyChain := True;
//GlobalCEFApp.EnableGPU := False;
//GlobalCEFApp.LogFile := 'debug.log';
//GlobalCEFApp.LogSeverity := LOGSEVERITY_VERBOSE;
GlobalCEFApp.StartSubProcess;
GlobalCEFApp.Free;
GlobalCEFApp := nil;

View File

@ -0,0 +1,5 @@
CEF4Delphi may report an invalid macOS version. In that case, use the -WMxx.y custom option to set a higher minimum macOS version for that project.
You might also need to sign the application with an "Outgoing network socket" entitlement in the helpers.
Set LSUIElement=1 in the info.plist to hide the helpers in the dock.