[TIMOB-17515] Windows: Refactor windows detection code into windowslib
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-11-13T19:27:23.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 4.1.0 |
Components | CLI, Windows |
Labels | merge-3.4.2 |
Reporter | Ingo Muschenetz |
Assignee | Chris Barber |
Created | 2014-08-19T16:46:44.000+0000 |
Updated | 2017-03-14T21:19:08.000+0000 |
Description
windowslib is the communication library we use when interacting with Windows devices.
In this case, it does not yet exist, but needs to be pulled from the existing Windows detection code done for the Windows Hybrid SDK. It needs to both the needs of the current Titanium CLI as well as the tiO2 project.
https://github.com/appcelerator/windowslib
This task involves both the initial refactoring, as well as integrating it back into https://github.com/appcelerator/tio2 and https://github.com/appcelerator/titanium.
Pull request: https://github.com/appcelerator/windowslib/pull/1
To test, run
npm test
. You will need a device to run all tests. The real test will be once windowslib is dropped into the Titanium SDK.Merged the PR to windowslib. Two caveats: - The user must change their ExecutionPolicy first by doing:
- When the device tests are running, you need to ensure the connected device is not asleep/locked or connecting will fail.
Closing ticket as fixed.