mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-14 01:48:20 +01:00
[refactor] read version from manifest
This commit is contained in:
parent
2d3dcd5172
commit
1c8a96da41
@ -1,8 +1,5 @@
|
||||
var version = (function() {
|
||||
|
||||
// version is normally bumped when the state needs changing or any new functionality is added
|
||||
var current = "3.12.0";
|
||||
|
||||
var compare = function(a, b) {
|
||||
var pa = a.split(".");
|
||||
var pb = b.split(".");
|
||||
@ -26,7 +23,7 @@ var version = (function() {
|
||||
};
|
||||
|
||||
var get = function() {
|
||||
return current;
|
||||
return chrome.runtime.getManifest().version;
|
||||
};
|
||||
|
||||
// exposed methods
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "nightTab",
|
||||
"short_name": "nightTab",
|
||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab -- a custom start page.",
|
||||
"version": "3.12.0",
|
||||
"version": "3.13.0",
|
||||
"manifest_version": 2,
|
||||
"chrome_url_overrides": {
|
||||
"newtab": "index.html"
|
||||
|
Loading…
Reference in New Issue
Block a user