chrome 25 compatibility

This commit is contained in:
Rodolphe Breard 2013-02-25 17:40:29 +01:00
parent f270e9ec9d
commit e422bd577a
2 changed files with 6 additions and 7 deletions

View file

@ -14,9 +14,9 @@
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
// //
chrome.app.runtime.onLaunched.addListener(function(intentData) { chrome.app.runtime.onLaunched.addListener(function() {
//if (window.chrome && window.chrome.app && window.chrome.app.isInstalled) { chrome.app.window.create('chromesoul.html', {
if (window.chrome && window.chrome.app) { 'width': 400,
window.open("chromesoul.html#0", "bg", "background"); 'height': 500
} });
}); });

View file

@ -1,6 +1,6 @@
{ {
"name": "Chromesoul", "name": "Chromesoul",
"version": "0.4.7", "version": "0.4.9",
"minimum_chrome_version": "24", "minimum_chrome_version": "24",
"manifest_version": 2, "manifest_version": 2,
"offline_enabled": false, "offline_enabled": false,
@ -16,7 +16,6 @@
}, },
"permissions": [ "permissions": [
"http://www.epitech.eu/intra/photos/", "http://www.epitech.eu/intra/photos/",
"background",
"storage", "storage",
"notifications", "notifications",
{"socket": ["tcp-connect:ns-server.epita.fr:4242"]} {"socket": ["tcp-connect:ns-server.epita.fr:4242"]}