diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index ff62a1fd2ac30..2a4e78b3e9ef6 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -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] ) { @@ -76,6 +78,12 @@ vAPI.app = (function() { name: manifest.name.replace(/ dev\w+ build/, ''), version: version }; + */ + + return { + name: manifest.name, + version: manifest.version + }; })(); /******************************************************************************/