mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-04-17 06:57:13 +02:00
Fixed build issue in Linux and MacOS
This commit is contained in:
parent
6030a82644
commit
d16c7de620
@ -222,8 +222,8 @@ function CheckDLLs(const aFrameworkDirPath : string; var aMissingFiles : string)
|
|||||||
{$IFDEF MSWINDOWS}
|
{$IFDEF MSWINDOWS}
|
||||||
function CheckDLLVersion(const aDLLFile : ustring; aMajor, aMinor, aRelease, aBuild : uint16) : boolean;
|
function CheckDLLVersion(const aDLLFile : ustring; aMajor, aMinor, aRelease, aBuild : uint16) : boolean;
|
||||||
function GetDLLHeaderMachine(const aDLLFile : ustring; var aMachine : integer) : boolean;
|
function GetDLLHeaderMachine(const aDLLFile : ustring; var aMachine : integer) : boolean;
|
||||||
function GetFileTypeDescription(const aExtension : ustring) : ustring;
|
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
function GetFileTypeDescription(const aExtension : ustring) : ustring;
|
||||||
function FileVersionInfoToString(const aVersionInfo : TFileVersionInfo) : string;
|
function FileVersionInfoToString(const aVersionInfo : TFileVersionInfo) : string;
|
||||||
function CheckFilesExist(var aList : TStringList; var aMissingFiles : string) : boolean;
|
function CheckFilesExist(var aList : TStringList; var aMissingFiles : string) : boolean;
|
||||||
function Is32BitProcess : boolean;
|
function Is32BitProcess : boolean;
|
||||||
@ -1474,6 +1474,11 @@ begin
|
|||||||
Result := TempInfo.szTypeName;
|
Result := TempInfo.szTypeName;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
{$ELSE}
|
||||||
|
function GetFileTypeDescription(const aExtension : ustring) : ustring;
|
||||||
|
begin
|
||||||
|
Result := uppercase(aExtension) + ' files';
|
||||||
|
end;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
function FileVersionInfoToString(const aVersionInfo : TFileVersionInfo) : string;
|
function FileVersionInfoToString(const aVersionInfo : TFileVersionInfo) : string;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"UpdateLazPackages" : [
|
"UpdateLazPackages" : [
|
||||||
{
|
{
|
||||||
"ForceNotify" : true,
|
"ForceNotify" : true,
|
||||||
"InternalVersion" : 343,
|
"InternalVersion" : 344,
|
||||||
"Name" : "cef4delphi_lazarus.lpk",
|
"Name" : "cef4delphi_lazarus.lpk",
|
||||||
"Version" : "96.0.18.0"
|
"Version" : "96.0.18.0"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user