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
+39Lines changed: 39 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,45 @@ This tool is currently in the Beta stage, so a number of key features have yet t
69
69
- There is no control over the amount of smoothing applied to the graph lines
70
70
- There is no way to single-step between loop iterations with the arrow keys
71
71
72
+
## Native app build via NW.js
73
+
74
+
### Development
75
+
76
+
1. Install node.js
77
+
2. Change to project folder and run `npm install`.
78
+
3. Run `npm start` to build & run the debug flavor.
79
+
80
+
### App build and release
81
+
82
+
The tasks are defined in `gulpfile.js` and can be run either via `gulp <task-name>` (if the command is in PATH or via `../node_modules/gulp/bin/gulp.js <task-name>`:
2. Run `gulp <taskname> [[platform] [platform] ...]`.
86
+
87
+
List of possible values of `<task-name>`:
88
+
***dist** copies all the JS and CSS files in the `./dist` folder.
89
+
***apps** builds the apps in the `./apps` folder [1].
90
+
***debug** builds debug version of the apps in the `./debug` folder [1].
91
+
***release** zips up the apps into individual archives in the `./release` folder [1].
92
+
93
+
[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).
94
+
95
+
#### Build or release app for one specific platform
96
+
To build or release only for one specific platform you can append the plaform after the `task-name`.
97
+
If no platform is provided, only for the platform you are builing from will be build.
98
+
99
+
***MacOS** use `gulp <task-name> --osx64`
100
+
***Linux** use `gulp <task-name> --linux64`
101
+
***Windows** use `gulp <task-name> --win32`
102
+
***ChromeOS** use `gulp <task-name> --chromeos`
103
+
104
+
You can also use multiple platforms e.g. `gulp <taskname> --osx64 --linux64`.
105
+
106
+
#### macOS DMG installation background image
107
+
108
+
The release distribution for macOS uses a DMG file to install the application.
109
+
The PSD source for the DMG backgound image can be found in the root (`dmg-background.png`). After changing the source, export the image to PNG format in folder `./images/`.
110
+
72
111
## Flight video won't load, or jumpy flight video upon export
73
112
74
113
Some flight video formats aren't supported by Chrome, so the viewer can't open them. You can fix this by re-encoding
"message": "Show update notifications for unstable versions of the configurator"
10
+
},
11
+
"updateNotice": {
12
+
"message": "You are using an outdated version of the <b>Betaflight Blackbox Explorer</b>.<br>Version <b>$1</b> is available online, please visit <a href=\"$2\" target=\"_blank\">the release page</a> to download and install the latest version with fixes and improvements.<br><br>Please close the app before updating."
0 commit comments