Skip to content

Commit

Permalink
V1.31
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadPackets committed May 1, 2018
1 parent c27bf09 commit 9cd5775
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "BannerPlus",
"description": "Makes banner better.",
"version": "1.3",
"version": "1.31",
"icons": {
"128": "assets/icons/128.png"
},
Expand Down
3 changes: 2 additions & 1 deletion src/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@ function checkForUpdates() {
//Set current version
$('version').text("(v" + json.version + ")");

fetch('https://raw.githubusercontent.com/DeadPackets/BannerPlus/master/version.json')
fetch('https://raw.githubusercontent.com/DeadPackets/BannerPlus/master/src/version.json')
.then((responseGit) => {
responseGit.json().then((jsonGit) => {
console.log(`Current Version: ${json.version} and Latest Version: ${jsonGit.version}`);
if (parseFloat(jsonGit.version) > parseFloat(json.version)) {
let content = jsonGit.changelog.map((item) => {
return (" - " + item);
Expand Down
4 changes: 2 additions & 2 deletions src/version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.3",
"changelog": ["Proper releases from now on! Extensions will be packed as .crx files and not zips!"]
"version": "1.31",
"changelog": ["Proper releases from now on! Extensions will be packed as .crx files and not zips!", "Fixed broken update function"]
}
4 changes: 4 additions & 0 deletions version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"version": "1.31",
"changelog": ["Proper releases from now on! Extensions will be packed as .crx files and not zips!", "Fixed broken update function"]
}

0 comments on commit 9cd5775

Please sign in to comment.