diff --git a/Google Chrome/ahoy.js b/Google Chrome/ahoy.js index b538f31..0e5d07b 100644 --- a/Google Chrome/ahoy.js +++ b/Google Chrome/ahoy.js @@ -3,8 +3,8 @@ var Ahoy = function() { /** * CONFIGS */ - //this.api_url = "http://46.101.64.62"; - this.api_url = "http://ahoy.app:8000"; + this.api_url = "http://46.101.64.62"; + //this.api_url = "http://ahoy.app:8000"; /** * DEFAULTS @@ -210,6 +210,11 @@ Ahoy.prototype.after_update = function( details ) { // Make sure the plugins fetch for new information when it's installed/updated this.update_site_list(); this.update_proxy(); + console.log(details); + if( (details.reason === "update" && details.previousVersion !== chrome.app.getDetails().version) || details.reason === "install" ) { + chrome.tabs.create({'url': chrome.extension.getURL('views/release_notes.html'), 'selected': true}); + } + }; @@ -280,7 +285,7 @@ Ahoy.prototype.event_sites_updated = function( e ) { // Update the local storage chrome.storage.sync.set( { "sites_list": e.detail.sites } ); - + this.sites_list = e.detail.sites; // Setup the callback filters diff --git a/Google Chrome/icons/128x128.png b/Google Chrome/icons/128x128.png index b7bf360..f61213f 100644 Binary files a/Google Chrome/icons/128x128.png and b/Google Chrome/icons/128x128.png differ diff --git a/Google Chrome/icons/16x16.png b/Google Chrome/icons/16x16.png index ec069dc..ff7bfb7 100644 Binary files a/Google Chrome/icons/16x16.png and b/Google Chrome/icons/16x16.png differ diff --git a/Google Chrome/icons/48x48.png b/Google Chrome/icons/48x48.png index c99b2b5..d1cc4a8 100644 Binary files a/Google Chrome/icons/48x48.png and b/Google Chrome/icons/48x48.png differ diff --git a/Google Chrome/img/cravo.png b/Google Chrome/img/cravo.png new file mode 100644 index 0000000..872c07a Binary files /dev/null and b/Google Chrome/img/cravo.png differ diff --git a/Google Chrome/img/cravo_curto.png b/Google Chrome/img/cravo_curto.png new file mode 100644 index 0000000..456d1bc Binary files /dev/null and b/Google Chrome/img/cravo_curto.png differ diff --git a/Google Chrome/views/popup.html b/Google Chrome/views/popup.html index 1a7fe97..40ab46e 100644 --- a/Google Chrome/views/popup.html +++ b/Google Chrome/views/popup.html @@ -6,15 +6,24 @@
- + -