mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-06 14:07:32 +00:00
chore(windows): cleanup
This commit is contained in:
parent
97a16e8535
commit
09fff26c1f
3 changed files with 3 additions and 4 deletions
|
|
@ -167,12 +167,12 @@ begin
|
|||
begin
|
||||
if IsPackage then
|
||||
begin
|
||||
FPackage := (kmcom.Packages as IKeymanPackagesInstalled2).Install2(FileName, True, False);
|
||||
FPackage := (kmcom.Packages as IKeymanPackagesInstalled2).Install2(FileName, True);
|
||||
InstallKeyboardPackageLanguage(FPackage, FilenameBCP47[2]);
|
||||
end
|
||||
else
|
||||
begin
|
||||
FKeyboard := (kmcom.Keyboards as IKeymanKeyboardsInstalled2).Install2(FileName, True, False);
|
||||
FKeyboard := (kmcom.Keyboards as IKeymanKeyboardsInstalled2).Install2(FileName, True);
|
||||
FKeyboard.Languages.Install(FilenameBCP47[2]);
|
||||
end;
|
||||
end
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -64,9 +64,8 @@ end;
|
|||
|
||||
function IsTIPInstalledForCurrentUser(BCP47Tag: string; LangID: Integer; guidProfile: TGUID): Boolean;
|
||||
var
|
||||
tag, FLayoutInstallString: string;
|
||||
FLayoutInstallString: string;
|
||||
reg: TRegistryErrorControlled;
|
||||
tags: TStringList;
|
||||
begin
|
||||
if BCP47Tag <> '' then
|
||||
begin
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue