You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
Fix DLL cheking functions. icudtl.dat must be next to libcef.dll
This commit is contained in:
@ -705,7 +705,6 @@ begin
|
||||
Result := GetAbsoluteDirPath(aResourcesDirPath, TempDir) and
|
||||
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
|
||||
@ -724,6 +723,8 @@ begin
|
||||
Result := False;
|
||||
|
||||
try
|
||||
// The icudtl.dat file must be placed next to libcef.dll
|
||||
// http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=14503#p32263
|
||||
Result := GetAbsoluteDirPath(aFrameworkDirPath, TempDir) and
|
||||
FileExists(TempDir + CHROMEELF_DLL) and
|
||||
FileExists(TempDir + LIBCEF_DLL) and
|
||||
@ -731,6 +732,7 @@ begin
|
||||
FileExists(TempDir + 'd3dcompiler_47.dll') and
|
||||
FileExists(TempDir + 'libEGL.dll') and
|
||||
FileExists(TempDir + 'libGLESv2.dll') and
|
||||
FileExists(TempDir + 'icudtl.dat') and
|
||||
FileExists(TempDir + 'widevinecdmadapter.dll');
|
||||
except
|
||||
on e : exception do
|
||||
|
Reference in New Issue
Block a user