Skip to content

Commit

Permalink
packaging fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DzikuVx committed Dec 21, 2017
1 parent 1566026 commit afc8fb8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,10 @@ gulp.task('apps', ['dist', 'clean-apps'], function (done) {
buildDir: appsDir,
platforms: platforms,
flavor: 'normal',
zip: false,
macIcns: './images/bf_icon.icns',
macPlist: { 'CFBundleDisplayName': 'Betaflight Blackbox Explorer'},
winIco: './images/bf_icon.ico',
macPlist: { 'CFBundleDisplayName': 'INAV Blackbox Explorer'},
winIco: './images/bf_icon.ico'
});
builder.on('log', console.log);
builder.build(function (err) {
Expand Down Expand Up @@ -322,7 +323,7 @@ function release_win32() {
archive.on('warning', function (err) { throw err; });
archive.on('error', function (err) { throw err; });
archive.pipe(output);
archive.directory(src, 'Betaflight Blackbox Explorer');
archive.directory(src, 'INAV Blackbox Explorer');
return archive.finalize();
}

Expand All @@ -336,7 +337,7 @@ function release_linux64() {
archive.on('warning', function (err) { throw err; });
archive.on('error', function (err) { throw err; });
archive.pipe(output);
archive.directory(src, 'Betaflight Blackbox Explorer');
archive.directory(src, 'INAV Blackbox Explorer');
return archive.finalize();
}

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

var output = fs.createWriteStream(path.join(appsDir, get_release_filename('macOS', 'zip')));
var output = fs.createWriteStream(path.join(releaseDir, get_release_filename('macOS', 'zip')));
var archive = archiver('zip', {
zlib: { level: 9 }
});
archive.on('warning', function(err) { throw err; });
archive.on('error', function(err) { throw err; });
archive.pipe(output);
archive.directory(src, 'INAV Configurator.app');
archive.directory(src, 'INAV Blackbox Explorer.app');
return archive.finalize();
}

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "betaflight-blackbox-explorer",
"description": "Crossplatform blackbox analitics tool for Betaflight flight control system.",
"name": "inav-blackbox-explorer",
"description": "Crossplatform blackbox analitics tool for INAV flight control system.",
"version": "3.0.0",
"main": "main_nwjs.html",
"bg-script": "background.js",
Expand All @@ -17,7 +17,7 @@
},
"repository": {
"type": "git",
"url": "github.com/betaflight/blackbox-log-viewer"
"url": "github.com/iNavFlight/blackbox-log-viewer"
},
"author": "INAV",
"license": "GPL-3.0",
Expand Down

0 comments on commit afc8fb8

Please sign in to comment.