You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,14 +48,15 @@ Unstable testing versions of the lates builds of the configurator for most platf
48
48
49
49
**Be aware that these versions are intended for testing / feedback only, and may be buggy or broken, and can cause flight controller settings to be corrupted. Caution is advised when using these versions.**
50
50
51
-
## Native app build via NW.js
51
+
## Native app build via NW.js (windows/linux/macos) or Cordova (android)
52
52
53
53
### Development
54
54
55
55
1. Install node.js (version 10 required)
56
56
2. Install yarn: `npm install yarn -g`
57
-
3. Change to project folder and run `yarn install`.
58
-
4. Run `yarn start`.
57
+
3. (For Android platform only) Install Java JDK 8, Gradle and Android Studio (Android SDK at least level 19)
58
+
4. Change to project folder and run `yarn install`.
***dist** copies all the JS and CSS files in the `./dist` folder.
73
+
***dist** copies all the JS and CSS files in the `./dist` folder[2].
73
74
***apps** builds the apps in the `./apps` folder [1].
74
-
***debug** builds debug version of the apps in the `./debug` folder [1].
75
+
***debug** builds debug version of the apps in the `./debug` folder [1][3].
75
76
***release** zips up the apps into individual archives in the `./release` folder [1].
76
77
77
78
[1] Running this task on macOS or Linux requires Wine, since it's needed to set the icon for the Windows app (build for specific platform to avoid errors).
79
+
[2] For Android platform, **dist** task will generate the `./cordova` folder
80
+
[3] For Android platform, you need to configure an emulator or to plug an Android device with USB debugging enabled
78
81
79
82
#### Build or release app for one specific platform
80
83
To build or release only for one specific platform you can append the plaform after the `task-name`.
@@ -84,6 +87,7 @@ If no platform is provided, all the platforms will be done in sequence.
84
87
***Linux** use `yarn gulp <task-name> --linux64`
85
88
***Windows** use `yarn gulp <task-name> --win32`
86
89
***ChromeOS** use `yarn gulp <task-name> --chromeos`
90
+
***Android** use `yarn gulp <task-name> --android`
87
91
88
92
You can also use multiple platforms e.g. `yarn gulp <taskname> --osx64 --linux64`.
0 commit comments