Similer to layer0, the developer tools are designed as an executable with multiple feature plugins (found in the Plugins/
folder). The following executables exist:
Executable | Details | Image |
---|---|---|
RuyiDev.exe | Double-click or run without an argument | |
RuyiDev.exe | Run with any argument (e.g. RuyiDev.exe -h ) |
All plugins are used via RuyiDev.exe <plugin> <arguments>
.
Assistance for any plugin is available via RuyiDev.exe <plugin> -h
.
Name | Functionality |
---|---|
API Tool | Process Thrift files and generate API (see building SDK source) |
App Runner | Installation and starting/stopping of apps |
Localization Tool | |
Setting Tool | Get/set configuration parameters |
Sign Tool | Sign applications |
TRC Tool | Both static and runtime checking of app conformance to Ruyi platform requirements |
Applications can be installed, started, and stopped with App Runner.
- Select AppRunner
- Host Address: blank for local machine or IPv4 address of console
- Working Channel: always select
dev
- App's RuyiManifest: select the app's
RuyiManifest.json
- Press Install App button and wait for installation to complete (duration depends on size of your application)
- If successful, you should see your app listed in Installed Apps list
- Select it and press Run App button to launch it
- You can stop your app by selecting it from Running Apps and pressing Stop App button
- To uninstall an app, select it from Installed Apps and press Uninstall App button, note it can't be running if you want to uninstall it
- Press Force Refresh to update Running Apps and Installed Apps lists
Also see Running Apps.
As described in the security section, unsigned apps are only permitted in PC mode. In console mode, apps must be signed. Sign tool is used to sign an app so it can run on the console when "developer mode" is enabled.
Pfx file and Pfx Password are preset so you can self-sign applications during development.
App RuyiManifest is the app's RuyiManifest.json
.
Click Sign App to sign all files matching the following patterns:
*.exe
*.dll
*.sys
*.cat
*.ocx
Later you will be able to customize this via a section in RuyiManifest.