Skip to content

Commit afc8fb8

Browse files
committed
packaging fixes
1 parent 1566026 commit afc8fb8

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

gulpfile.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,10 @@ gulp.task('apps', ['dist', 'clean-apps'], function (done) {
219219
buildDir: appsDir,
220220
platforms: platforms,
221221
flavor: 'normal',
222+
zip: false,
222223
macIcns: './images/bf_icon.icns',
223-
macPlist: { 'CFBundleDisplayName': 'Betaflight Blackbox Explorer'},
224-
winIco: './images/bf_icon.ico',
224+
macPlist: { 'CFBundleDisplayName': 'INAV Blackbox Explorer'},
225+
winIco: './images/bf_icon.ico'
225226
});
226227
builder.on('log', console.log);
227228
builder.build(function (err) {
@@ -322,7 +323,7 @@ function release_win32() {
322323
archive.on('warning', function (err) { throw err; });
323324
archive.on('error', function (err) { throw err; });
324325
archive.pipe(output);
325-
archive.directory(src, 'Betaflight Blackbox Explorer');
326+
archive.directory(src, 'INAV Blackbox Explorer');
326327
return archive.finalize();
327328
}
328329

@@ -336,7 +337,7 @@ function release_linux64() {
336337
archive.on('warning', function (err) { throw err; });
337338
archive.on('error', function (err) { throw err; });
338339
archive.pipe(output);
339-
archive.directory(src, 'Betaflight Blackbox Explorer');
340+
archive.directory(src, 'INAV Blackbox Explorer');
340341
return archive.finalize();
341342
}
342343

@@ -360,14 +361,14 @@ function release_osx64() {
360361
var src = path.join(appsDir, pkg.name, 'osx64', pkg.name + '.app');
361362
// Check if we want to sign the .app bundle
362363

363-
var output = fs.createWriteStream(path.join(appsDir, get_release_filename('macOS', 'zip')));
364+
var output = fs.createWriteStream(path.join(releaseDir, get_release_filename('macOS', 'zip')));
364365
var archive = archiver('zip', {
365366
zlib: { level: 9 }
366367
});
367368
archive.on('warning', function(err) { throw err; });
368369
archive.on('error', function(err) { throw err; });
369370
archive.pipe(output);
370-
archive.directory(src, 'INAV Configurator.app');
371+
archive.directory(src, 'INAV Blackbox Explorer.app');
371372
return archive.finalize();
372373
}
373374

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "betaflight-blackbox-explorer",
3-
"description": "Crossplatform blackbox analitics tool for Betaflight flight control system.",
2+
"name": "inav-blackbox-explorer",
3+
"description": "Crossplatform blackbox analitics tool for INAV flight control system.",
44
"version": "3.0.0",
55
"main": "main_nwjs.html",
66
"bg-script": "background.js",
@@ -17,7 +17,7 @@
1717
},
1818
"repository": {
1919
"type": "git",
20-
"url": "github.com/betaflight/blackbox-log-viewer"
20+
"url": "github.com/iNavFlight/blackbox-log-viewer"
2121
},
2222
"author": "INAV",
2323
"license": "GPL-3.0",

0 commit comments

Comments
 (0)