Windows 8.1 operating system detection support

Developers
2013-11-30
2013-11-30
  • Anthony Bennett

    Anthony Bennett - 2013-11-30

    Depending on whether windows 8.1 patch has already been added to operating_systems.pm, code block from around line 36 looks like this:

    'windows[_+ ]?2008', 'windows[_+ ]nt[_+ ]6.1', # Must be before windows_nt_6
    'windows[_+ ]?2012', 'windows[_+ ]nt[_+ ]6.2', # Must be before windows_nt_6
    'windows[_+ ]?2012r2', 'windows[_+ ]nt[_+ ]6.3', # Must be before windows_nt_6
    'windows[_+ ]?vista', 'windows[_+ ]nt[_+ ]6',

    and at around line 149:

    'windows[_+ ]?2008','win2008','windows[_+ ]nt[_+ ]6.1','win7',
    'windows[_+ ]?2012','win2012','windows[_+ ]nt[_+ ]6.2','win8',
    'windows[_+ ]?2012r2','win2012r2','windows[_+ ]nt[_+ ]6.3','win81',
    'windows[_+ ]?vista','winvista','windows[_+ ]nt[_+ ]6','winvista',

    and at around line 253:

    'win81','Windows 8.1',
    'win8','Windows 8',
    'win7','Windows 7',
    'winlong','Windows Vista (LongHorn)',

    plus you'll just want to make a copy of the Win8.png (previously posted) as Win81.png in the \icons directory

     
    Last edit: Anthony Bennett 2013-11-30
  • Eric

    Eric - 2013-11-30

    Thanks Anthony.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks