mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
feat: make Windows 11 immersive mode configurable
This commit is contained in:
parent
9c321b2c05
commit
1e40cabdc6
7 changed files with 97 additions and 20 deletions
|
|
@ -514,6 +514,12 @@ public static class Util
|
|||
return Check1() || Check2() || Check3();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Heuristically determine if the Windows version is higher than Windows 11's first build.
|
||||
/// </summary>
|
||||
/// <returns>If Windows 11 has been detected.</returns>
|
||||
public static bool IsWindows11() => Environment.OSVersion.Version.Build >= 22000;
|
||||
|
||||
/// <summary>
|
||||
/// Open a link in the default browser.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue