[TIMOB-23768] Windows: windowslib should detect installed Win10 SDK versions
| GitHub Issue | n/a | 
|---|---|
| Type | Improvement | 
| Priority | High | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2016-08-12T15:22:50.000+0000 | 
| Affected Version/s | windowslib 0.4.16 | 
| Fix Version/s | windowslib 0.4.17 | 
| Components | Windows | 
| Labels | n/a | 
| Reporter | Kota Iguchi | 
| Assignee | Kota Iguchi | 
| Created | 2016-08-12T04:34:26.000+0000 | 
| Updated | 2017-03-21T18:43:34.000+0000 | 
Description
	In order to target specific Windows 10 SDK (TIMOB-23760), 
windowslib should be able to detect available Windows 10 SDK versions.
May be something like below:
windowslib.detect(function (err, results) {
	if (err) {
		return done(err);
	}
	should(results).be.an.Object;
	should(results).have.keys('windows');
	should(results.windows).have.keys('10.0');
	should(results.windows['10.0']).have.property('sdks');
	should(results.windows['10.0'].sdks).be.an.Array(); // ['10.0.10240.0", "10.0.10586.0'];
});
    C:\Program Files (x86)\Windows Kits\10\Extension SDKs\WindowsDesktop\
     - 10.0.10240.0
     - 10.0.10586.0
     ...
    C:\Program Files (x86)\Windows Kits\10\Extension SDKs\WindowsMobile\
     - 10.0.10240.0
     - 10.0.10586.0
     ...
Where 'C:\Program Files (x86)\Windows Kits\10' can be obtained from windowslib
https://github.com/appcelerator/windowslib/pull/52
Closing ticket as fixed.