fix(windows): commit review suggestions

Co-authored-by: Marc Durdin <marc@durdin.net>
This commit is contained in:
rc-swag 2025-05-22 09:52:06 +10:00
parent e10c34fcf6
commit e9fa2b863d

View file

@ -723,11 +723,13 @@ begin
else
begin
// Since Package upgrade and Keyman upgrade share the installing state
// the presense following package related switches means we should
// skip running the update state machine HandleKmShell event
SkipBUpdate := (FMode in [fmInstallTip,
fmInstallTipsForPackages, fmRegisterTip, fmUpgradeKeyboards,
fmUpgradeMnemonicLayout]);
// the presence of the following package related switches means we
// should skip running the update state machine HandleKmShell event
SkipBUpdate := (FMode in [
fmInstallTip, fmInstallTipsForPackages,
fmRegisterTip, fmUpgradeKeyboards,
fmUpgradeMnemonicLayout
]);
SendToBUpdateSM := ShouldSendToBUpdateSM(FSilent, BUpdateSM, FMode);