diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 22e6e8d..6243fd1 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -35,11 +35,19 @@ self.vAPI = self.vAPI || {}; var vAPI = self.vAPI; var chrome = self.chrome; +var manifest = chrome.runtime.getManifest(); vAPI.chrome = true; /******************************************************************************/ +vAPI.app = { + name: manifest.name, + version: manifest.version +}; + +/******************************************************************************/ + vAPI.storage = chrome.storage.local; /******************************************************************************/