diff --git a/gulpfile.js b/gulpfile.js index 38b90427..e2ceb25e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -87,6 +87,7 @@ sources.js = [ './js/simple_smooth_filter.js', './js/walking_average_filter.js', './js/gui.js', + './js/serialPortHelper.js', './js/msp/MSPCodes.js', './js/msp/MSPHelper.js', './js/msp/MSPchainer.js', @@ -141,6 +142,8 @@ sources.js = [ './js/sitl.js', './js/CliAutoComplete.js', './node_modules/jquery-textcomplete/dist/jquery.textcomplete.js', + './js/fwApproach.js', + './js/fwApproachCollection.js', './js/ltmDecoder.js', './js/groundstation.js' ]; @@ -409,18 +412,39 @@ gulp.task('release-osx64', function(done) { archive.directory(src, 'INAV Configurator.app'); output.on('close', function() { if (getArguments().notarize) { - console.log('Notarizing DMG file: ' + zipFilename); - const notarizeArgs = ['macapptool', '-v', '1', 'notarize']; + console.log('Notarizing ZIP file: ' + zipFilename); + const notarizeArgs = ['xcrun', 'notarytool', 'submit']; + notarizeArgs.push(zipFilename); const notarizationUsername = getArguments()['notarization-username']; if (notarizationUsername) { - notarizeArgs.push('-u', notarizationUsername) + notarizeArgs.push('--apple-id', notarizationUsername) + } else { + throw new Error('Missing notarization username'); } const notarizationPassword = getArguments()['notarization-password']; if (notarizationPassword) { - notarizeArgs.push('-p', notarizationPassword) + notarizeArgs.push('--password', notarizationPassword) + } else { + throw new Error('Missing notarization password'); + } + const notarizationTeamId = getArguments()['notarization-team-id']; + if (notarizationTeamId) { + notarizeArgs.push('--team-id', notarizationTeamId) + } else { + throw new Error('Missing notarization Team ID'); + } + notarizeArgs.push('--wait'); + + const notarizationWebhook = getArguments()['notarization-webhook']; + if (notarizationWebhook) { + notarizeArgs.push('--webhook', notarizationWebhook); } - notarizeArgs.push(zipFilename) execSync.apply(this, notarizeArgs); + + console.log('Stapling ZIP file: ' + zipFilename); + const stapleArgs = ['macapptool', '-v', '1', 'staple']; + stapleArgs.push(zipFilename) + execSync.apply(this, stapleArgs); } done(); }); @@ -586,7 +610,7 @@ function release_deb(arch) { `xdg-desktop-menu install ${LINUX_INSTALL_DIR}/${metadata.name}/${metadata.name}.desktop`, ], prerm: [`xdg-desktop-menu uninstall ${metadata.name}.desktop`], - depends: ['libgconf-2-4', 'libatomic1'], + depends: ['libatomic1'], changelog: [], _target: `${LINUX_INSTALL_DIR}/${metadata.name}`, _out: appsDir, diff --git a/images/icons/cf_icon_setup_white.svg b/images/icons/cf_icon_setup_white.svg index 7501a9f0..353d0902 100644 --- a/images/icons/cf_icon_setup_white.svg +++ b/images/icons/cf_icon_setup_white.svg @@ -1,16 +1,8 @@ - - - - - - - - - - + + + + + + + + diff --git a/index.html b/index.html index 5818e4e6..dd754662 100644 --- a/index.html +++ b/index.html @@ -240,7 +240,7 @@