chrome 25 compatibility
This commit is contained in:
parent
f270e9ec9d
commit
e422bd577a
2 changed files with 6 additions and 7 deletions
|
@ -14,9 +14,9 @@
|
|||
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
//
|
||||
|
||||
chrome.app.runtime.onLaunched.addListener(function(intentData) {
|
||||
//if (window.chrome && window.chrome.app && window.chrome.app.isInstalled) {
|
||||
if (window.chrome && window.chrome.app) {
|
||||
window.open("chromesoul.html#0", "bg", "background");
|
||||
}
|
||||
chrome.app.runtime.onLaunched.addListener(function() {
|
||||
chrome.app.window.create('chromesoul.html', {
|
||||
'width': 400,
|
||||
'height': 500
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Chromesoul",
|
||||
"version": "0.4.7",
|
||||
"version": "0.4.9",
|
||||
"minimum_chrome_version": "24",
|
||||
"manifest_version": 2,
|
||||
"offline_enabled": false,
|
||||
|
@ -16,7 +16,6 @@
|
|||
},
|
||||
"permissions": [
|
||||
"http://www.epitech.eu/intra/photos/",
|
||||
"background",
|
||||
"storage",
|
||||
"notifications",
|
||||
{"socket": ["tcp-connect:ns-server.epita.fr:4242"]}
|
||||
|
|
Reference in a new issue