foesmm / fomm

Fallout Mod Manager
GNU General Public License v3.0
72 stars 24 forks source link

Fixed crash when detecting UAC on Windows 10. #56

Closed IntegralLee closed 7 years ago

IntegralLee commented 8 years ago

This fixes the UAC detection that is causing a crash on Windows 10. Specifically the crash detailed in Issue #46. You can test for Vista or later by simply looking at Environment.OSVersion. Note, that since FOMM isn't manifested for Windows 8.1 or Windows 10, Environment.OSVersion will return the Windows 8 version value and not Windows 10 (as covered in Targeting your application for Windows). This doesn't matter for this test.