mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-09 10:25:32 +00:00
fix(windows): disable mitigation for Windows 10 build 19597 and later
Fixes #1285. If running Windows 10 19597 or later, the underlying issue has been addressed, so disable the mitigation for new installs of the keyboard. Does not attempt to change the language code if the keyboard is already installed.
This commit is contained in:
parent
e9723251fb
commit
227e023cdd
1 changed files with 4 additions and 1 deletions
|
|
@ -98,7 +98,10 @@ class function TMitigateWin10_1803.IsMitigationRequired(BCP47Tag: string;
|
|||
var
|
||||
I: Integer;
|
||||
begin
|
||||
if not IsWindows10_1803_OrGreater then
|
||||
if not IsWindows10_OrGreater_Build(WINDOWS_10_BUILDNUMBER_WithFailure) then
|
||||
Exit(False);
|
||||
|
||||
if IsWindows10_OrGreater_Build(WINDOWS_10_BUILDNUMBER_Fixed) then
|
||||
Exit(False);
|
||||
|
||||
// We only want to look at the primary language tag for comparison
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue