You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
Bug fix #43 : backwards compatibility
This commit is contained in:
@ -50,7 +50,7 @@ uses
|
||||
{$IFDEF DELPHI16_UP}
|
||||
WinApi.Windows, System.Classes, System.SysUtils, System.UITypes, WinApi.ActiveX,
|
||||
{$ELSE}
|
||||
Windows, Classes, SysUtils, UITypes, ActiveX,
|
||||
Windows, Classes, SysUtils, Controls, ActiveX,
|
||||
{$ENDIF}
|
||||
uCEFTypes, uCEFInterfaces, uCEFLibFunctions, uCEFResourceHandler;
|
||||
|
||||
@ -658,7 +658,9 @@ begin
|
||||
else
|
||||
TempDir := '';
|
||||
|
||||
Result := FileExists(TempDir + 'icudtl.dat') and
|
||||
Result := FileExists(TempDir + 'natives_blob.bin') and
|
||||
FileExists(TempDir + 'snapshot_blob.bin') and
|
||||
FileExists(TempDir + 'icudtl.dat') and
|
||||
FileExists(TempDir + 'cef.pak') and
|
||||
FileExists(TempDir + 'cef_100_percent.pak') and
|
||||
FileExists(TempDir + 'cef_200_percent.pak') and
|
||||
@ -696,8 +698,6 @@ begin
|
||||
FileExists(TempDir + 'd3dcompiler_47.dll') and
|
||||
FileExists(TempDir + 'libEGL.dll') and
|
||||
FileExists(TempDir + 'libGLESv2.dll') and
|
||||
FileExists(TempDir + 'natives_blob.bin') and
|
||||
FileExists(TempDir + 'snapshot_blob.bin') and
|
||||
FileExists(TempDir + 'widevinecdmadapter.dll');
|
||||
except
|
||||
on e : exception do
|
||||
|
Reference in New Issue
Block a user