Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Commit

Permalink
fix version display
Browse files Browse the repository at this point in the history
  • Loading branch information
jspenguin2017 committed Jun 13, 2018
1 parent 087953f commit e0b6c8c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions platform/chromium/vapi-background.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ var noopFunc = function(){};
/******************************************************************************/

vAPI.app = (function() {
// Patch 2018-06-12: This is not needed for Nano
/*
let version = manifest.version;
let match = /(\d+\.\d+\.\d+)(?:\.(\d+))?/.exec(version);
if ( match && match[2] ) {
Expand All @@ -76,6 +78,12 @@ vAPI.app = (function() {
name: manifest.name.replace(/ dev\w+ build/, ''),
version: version
};
*/

return {
name: manifest.name,
version: manifest.version
};
})();

/******************************************************************************/
Expand Down

0 comments on commit e0b6c8c

Please sign in to comment.