1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-10-30 23:07:52 +02:00

Added v8_context_snapshot.bin to the cef binaries checking functions

- Added v8_context_snapshot.bin to the cef binaries checking functions.
- Added a the Initialized property to TChromiumWindow and nowCreateBrowser is a function, not procedure.
This commit is contained in:
Salvador Díaz Fau
2017-10-28 18:48:53 +02:00
parent bb83979092
commit 74b1d6c52a
2 changed files with 20 additions and 11 deletions

View File

@@ -741,13 +741,14 @@ begin
Result := False;
try
Result := GetAbsoluteDirPath(aResourcesDirPath, TempDir) and
FileExists(TempDir + 'natives_blob.bin') and
FileExists(TempDir + 'snapshot_blob.bin') and
FileExists(TempDir + 'cef.pak') and
FileExists(TempDir + 'cef_100_percent.pak') and
FileExists(TempDir + 'cef_200_percent.pak') and
FileExists(TempDir + 'cef_extensions.pak') and
Result := GetAbsoluteDirPath(aResourcesDirPath, TempDir) and
FileExists(TempDir + 'natives_blob.bin') and
FileExists(TempDir + 'snapshot_blob.bin') and
FileExists(TempDir + 'v8_context_snapshot.bin') and
FileExists(TempDir + 'cef.pak') and
FileExists(TempDir + 'cef_100_percent.pak') and
FileExists(TempDir + 'cef_200_percent.pak') and
FileExists(TempDir + 'cef_extensions.pak') and
(not aCheckDevResources or FileExists(TempDir + 'devtools_resources.pak'));
except
on e : exception do