Skip to content

Commit

Permalink
Merge pull request #167 from SunsetTechuila/branch2
Browse files Browse the repository at this point in the history
Check if DownloadMode is not null or 0
  • Loading branch information
farag2 committed Jan 8, 2023
2 parents 6b393cf + e31afbb commit b50036a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SophiApp/Customisations/CustomisationStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public static bool _310() => RegHelper.GetNullableIntValue(RegistryHive.LocalMac
public static bool _311() => RegHelper.GetNullableIntValue(RegistryHive.LocalMachine, POLICY_SYSTEM_PATH, _311_ENABLE_LINKED) == _311_ENABLE_LINKED_VALUE;

public static bool _312() => RegHelper.GetNullableIntValue(RegistryHive.Users, _312_DELIVERY_SETTINGS_PATH, _312_DOWNLOAD_MODE)
.HasNullOrValue(ENABLED_VALUE);
.HasNullOrValue(DISABLED_VALUE).Invert();

public static bool _313() => DomainHelper.PcInDomain
? RegHelper.GetNullableIntValue(RegistryHive.LocalMachine, _313_WINLOGON_PATH, _313_FOREGROUND_POLICY)
Expand Down Expand Up @@ -703,4 +703,4 @@ public static bool _927() => UwpHelper.PackageExist(UWP_WINDOWS_TERMINAL)

public static bool ItsMagic() => true;
}
}
}

0 comments on commit b50036a

Please sign in to comment.