0.2.0 Support enumerating, launching, installing to Windows 10 Mobile Emulators #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a major overhaul of windowslib to better support Windows 10. We now brought back our own custom wptool written in C# that we compile on-demand on the user's system. This tool fills in the gaps from Windows 10 tooling, namely that we can enumerate emulators (without hacking the 8.1 tooling), we can launch/connect to an emulator and grab it's IP address (it launches the emulator to connect to it), and then we can use that info to install/update/uninstall apps on the emulator using the WinAppCeployCmd.exe that MS provides. Additionally our custom tool allows you to launch an app by it's product id (guid). We have a powershell script to grab that out of an appx file so we can just take the built appx as input to install and then launch it.
You can run the included npm tests to exercise some of this (the device ones will likely fail).
Ideally this PR should be tested by basically placing this version of windowslib into a build of the SDK from master and then trying to build for Win 10 emulator and seeing if it works. It's possible it may fail due to other bugs we need to address though.