1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-14 20:10:11 +03:00
Commit graph

108 commits

Author SHA1 Message Date
Alberto García Hierro
5e3fd3ebd4 [macOS] Use macapptool for signing and notarizing macOS binaries
nw-builder has been producing invalid frameworks at least since
2017, at it seems there's no progress in fixing it (see
https://github.com/nwjs/nw.js/issues/6338). To workaround this problem,
we use macapptool to proper seal all the framework resources so it
can be signed and passes the validations required for notarization.
Since we're introducing this dependency, we can also use macapptool
to simplify signing and notarization.

To create a signed macOS build, pass the --codesign flag.
--codesign-identity can be used to use a non-default identity
("Developer ID")

To notarize a signed bundle, use the --notarize flag. There are
also flags provided to specify the username/password for the
notarization service.
2020-02-27 21:13:19 +00:00
Pawel Spychalski (DzikuVx)
f56b6ef40c Merge branch 'master' into dzikuvx-pid-tuning-tabs 2019-12-09 17:57:42 +01:00
Paweł Spychalski
a7760014c3
Merge pull request #866 from iNavFlight/release-2-3-0
Release Configurator 2.3.2
2019-11-23 21:52:56 +01:00
Pawel Spychalski (DzikuVx)
51945769c7 Basic PID Tab rework 2019-11-21 22:20:44 +01:00
Pawel Spychalski (DzikuVx)
78fbb84f9e Basic framework to work with features 2019-11-21 18:28:52 +01:00
Niccolò Maggioni
846583d17c Release tar.gz archives for Linux 2019-11-21 13:25:58 +01:00
Niccolò Maggioni
fc8cfeb24d Pin NW.js version used by NwBuilder
Sourced from package's deps
2019-11-21 13:23:51 +01:00
Pawel Spychalski (DzikuVx)
c27d956323 Dummy dialog 2019-11-20 11:49:14 +01:00
Pawel Spychalski (DzikuVx)
f18696ab9a Dummy dialog 2019-11-02 15:24:56 +01:00
Pawel Spychalski (DzikuVx)
9c627f7445 Report logic condiotion activation status 2019-09-14 12:55:16 +02:00
Pawel Spychalski (DzikuVx)
4a0bf7b93b Fix app not starting in chrome 2019-06-09 13:11:09 +02:00
mirko-it
e1d92bc114 Fix for Load/Save mission not working (#783)
* Offline missions (with FC disconnected) are now available for load and save to file.
Supports XML file format, should be compatible enough with other software

* removed default file name

* removed code in early stage of future developments

* code style and fc buttons

* map resize handling

* fix include nwdialog and fs packages

* xml2js lib with all dependencies in a single file
2019-05-31 12:01:04 +02:00
Pawel Spychalski (DzikuVx)
d6ded2404e Backend for getting logic conditions from FC 2019-03-10 14:39:32 +01:00
Pawel Spychalski (DzikuVx)
3c7cf5fc47 Basic layout for logic conditions 2019-03-10 13:04:29 +01:00
Pawel Spychalski (DzikuVx)
9382608bf6 Win64 release target 2019-02-14 09:22:48 +01:00
Pawel Spychalski (DzikuVx)
782a7d0a99 lower periodic tasks frequency 2019-02-11 10:36:44 +01:00
Pawel Spychalski (DzikuVx)
aa90466847 GPS tab refactoring 2018-11-10 20:32:03 +01:00
Alberto García Hierro
42c45648d3 Add support for editing more OSD settings from the OSD tab
- Voltage decimals
- Crosshairs style
- Sidebar scroll for left and right
- Sidebar scrolling arrows
2018-07-11 10:54:47 +01:00
Alberto García Hierro
321d704675 Complete migration to Gulp 4, add linux32 support
- Remove usages of runSequence(), which doesn't work with Gulp 4,
using gulp.series() instead.
- Add support for linux32 builds
- Add new --platform argument for building only for a single platform
(e.g. --platform=osx64).

Fixes build problems introduced in #527
Fixes #531
2018-07-09 22:29:47 +01:00
Alberto García Hierro
78312e52ee Update dependencies to be able to run with node 10
- Update gulp to 4.0.0
- Update nw.js to 0.31.4-sdk
2018-07-08 22:17:10 +01:00
Alberto García Hierro
6da922919f Add support for the new VTX settings API
When a controllable VTX is configured, a new section appears in
the configuration tab which allows the user to set the band, channel
power and "low power on disarm" option.
2018-06-20 15:56:24 +01:00
Pawel Spychalski (DzikuVx)
f5e60cc40e Servo output in Servo tab 2018-05-24 20:28:04 +02:00
Alberto García Hierro
6e80fd2b4d Fix support for simulated RX via MSP, increase channels to 12
- Fix detection of MSP_RX to show the button in the receiver tab
- Fix path to the .css file for receiver_msp.html
- Increase number of channels to 12
2018-05-20 17:05:34 +01:00
Pawel Spychalski (DzikuVx)
d0cdef46f4 motor mix rules for all default presets 2018-03-28 22:14:04 +02:00
Pawel Spychalski (DzikuVx)
c4735d2690 Merge remote-tracking branch 'origin/master' into dzikuvx-new-mixer-approach 2018-03-27 22:05:59 +02:00
Alberto García Hierro
024561b64d Format the markdown in the release notes as HTML 2018-03-17 14:31:53 +00:00
Alberto García Hierro
08a54197c0 Move code for the debug trace window to an external script
Chrome doesn't allow inline scripts, only external ones
2018-02-12 21:41:49 +00:00
Pawel Spychalski (DzikuVx)
48a9b36d86 Load and save of mmix over MSP 2018-01-28 18:39:13 +01:00
Pawel Spychalski (DzikuVx)
bb8507e81b ground work for mmix editing 2018-01-26 15:31:42 +01:00
Pawel Spychalski (DzikuVx)
cf3a5b2a64 UI for smix rules 2018-01-24 16:25:39 +01:00
Pawel Spychalski (DzikuVx)
912864bc19 load custom smix rules 2018-01-20 11:43:31 +01:00
Konstantin Sharlaimov
35eb73e5cb
Merge pull request #316 from Afinogen/check-update
add check new app version
2017-12-28 21:54:21 +10:00
afinogen
6ccba50734 add check new app version 2017-12-28 13:47:40 +03:00
Sergej Pozdnyakov
14dd00fb7b Add Linux build (gulp task) #312
For build only linux, without install Wine, added task `release-only-linux`
2017-12-25 23:58:56 +03:00
Alberto García Hierro
ef906c1af2 Make dist task finish before reporting it's done
runSequence will return immediately, so tasks depending on
dist might fail the first time they're run. By explicitely passing
the callback, gulp will wait until runSequence runs both clean
and dist-build until it considers dist finished.
2017-10-17 19:05:41 +01:00
Alberto García Hierro
a44a290c8c Use MSPV2_SET_SETTING to set small_angle to 180 on FW presets
- Add a json file with the types of all settings, generated by
the settings generator on INAV.
- Implement MSPV2_SETTING and MSPV2_SET_SETTING, which gives us
access to any value exposed via settings.
- Use this to set small_angle to 180 in FW presets.
2017-10-11 18:45:49 +01:00
Alberto García Hierro
4339bc0604 Add missing 'release-windows' step to 'release' task
It won't build the Windows release by default otherwise. Missed
accidentally in #235.
2017-09-10 11:52:18 +01:00
Alberto García Hierro
c24c875039 Add basic .zip file for distributing Windows app
Package as win32 in a basic .zip file as a portable app
2017-09-04 16:59:13 +01:00
Alberto García Hierro
4c41ccb719 Add support for creating a macOS .zip from gulp
This produces a nice .zip which can be distributed as is.
Unfortunately, the only way to produce a signed binary is by generating
the macOS app on macOS.
2017-09-04 16:59:01 +01:00
Alberto García Hierro
528f223a06 Add app icon on Windows 2017-09-04 15:38:05 +01:00
Alberto García Hierro
8be1722829 Add .icns icon for the macOS app
Otherwise the icon won't show up in the Dock, it will use the
default NW.js icon.
2017-09-04 15:27:02 +01:00
Alberto García Hierro
151b8f2e14 Document the build process better
Add comments in gulpfile.js indicating how to add new files to
the build.
Add documentation for getting a development environment up and
running in the README.
Document each task defined in gulpfile.js in the README.
2017-09-04 15:16:52 +01:00
Alberto García Hierro
e009890984 Define build and watch tasks dynamically based on variables
This significantly reduces the ammount of boilerplate and repetition
in gulpfile.js.
2017-09-04 15:16:37 +01:00
Alberto García Hierro
398bf5aeac Copy js/workers/hex_parser.js to build/
This avoids having to list it only for the dist task
2017-09-04 14:24:06 +01:00
Alberto García Hierro
a945f89927 Don't minify JS and CSS
There is little to be gained in runtime performance and it
complicates the build.
2017-09-04 14:17:26 +01:00
Alberto García Hierro
810cc04c1e Add missing js file to 'dist-build' task
Worker file referenced from OSD tab
2017-08-31 21:27:56 +01:00
Alberto García Hierro
4f45cab09d Rename 'deploy' related taks to 'minify'
Also, make the minify task use the files created by 'build'
as inputs. Now 'dist-build' depends on 'minify', which depends
on 'build' so all files are properly regenerated when running
the 'dist' task.
2017-08-31 21:27:56 +01:00
Alberto García Hierro
693f2c2c9a Remove redundant pattern in 'dist-build'
'./images/**/*' includes './images/*'
2017-08-31 21:27:56 +01:00
Alberto García Hierro
a5f0fe5d8d Add gulp task for generating NW.js apps
Also, now that we have support for regenerating all the files
in ./build/ properly, we can safely delete it from the repository
to clean up commits and PRs. They no longer need to update the
generated files in ./build/.

Generated apps are stored in ./apps/. Run gulp.js release to
generate apps for win32, osx64 and linux64.

To package the Chrome app, run gulp.js dist and pack the ./dist/
folder.
2017-08-31 21:27:56 +01:00
Alberto García Hierro
14f9cb80df Cleanup gulpfile.js, fix minification
Move outputDir to a constant.
Add an output variable which contains the filenames for each
output file.
Remove usage of 'let' and 'for(... of [Object])' from osd.js,
since uglify doesn't support ES6 and babel failed on
google-analytics-bundle.js
Fix 'deploy-receiver-css'. uglify() was being called as part of
the pipeline instead of the correct minifyCSS() call.
Let npm sort the deps rather than editing them manually
Add missing openlayers dependency
2017-08-31 21:27:31 +01:00