This document covers how developers can run applications on a devkit/console.
Starting with 0.9.3.3995, App Runner in no longer needed to pack apps before installation. Instead, the Microsoft Sync Framework (see dev environment pre-requisites) is used to sync builds to a target machine. This avoids unnecessary work like:
- Creating large compressed archives
- Re-transferring an entire build when many files are unchanged
The Microsoft Sync Framework must be installed on devkits and anywhere you use devtools. It is pre-installed in the latest OS image (v1.09 or later) for both console and PC mode.
There are the basic steps for testing your app on the console.
- Integrate Ruyi SDK into your app
- Create a RuyiManifest.json at the root of a build
- If using console mode (i.e. not in PC mode), you must enable developer mode in Settings and sign the app
- Open Dev Tools
- Choose App Runner, fill the proper IP address and choose your manifest file
- Click Install App
- Wait for it to finish
Done and have fun!!
IF error happens, make sure the Microsoft Sync Framework has been installed on your PC and the target console has been updated to the latest version of the OS.
- You may be asked for admin priviledges the first time you install an app with devtool (we need to open a specific port for sync). Click Yes.
- The sync is done over TCP protocol. Currently it only supports machines located in the same LAN as where devtool is running.