From 783b1a579932df5d37ef8bd6cc78f3db876ce4ed Mon Sep 17 00:00:00 2001 From: Aidan Campbell Date: Sat, 13 Feb 2016 05:00:29 -0500 Subject: [PATCH] cleaning unused code and fixing indentations --- background.js | 12 ++++++------ manifest.json | 33 +++++++++++++++++---------------- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/background.js b/background.js index c1045f5..ff9f80c 100644 --- a/background.js +++ b/background.js @@ -1,8 +1,8 @@ chrome.app.runtime.onLaunched.addListener(function() { - chrome.app.window.create('index.html', { - 'bounds': { - 'width': 400, - 'height': 500 - } - }); + chrome.app.window.create('index.html', { + 'bounds': { + 'width': 400, + 'height': 500 + } + }); }); \ No newline at end of file diff --git a/manifest.json b/manifest.json index 526ce27..2df2138 100644 --- a/manifest.json +++ b/manifest.json @@ -1,19 +1,20 @@ { - "manifest_version": 2, - "name": "Moonlight Chrome", - "version": "0.01", - "description": "A Moonlight streaming plugin for Google Chrome", - "icons": { - "128": "icons/icon128.png", - "48": "icons/icon48.png", - "32": "icons/icon32.png", - "16": "icons/icon16.png" - }, - "app": { - "background": { - "scripts": ["background.js"] - } - }, - "permissions": ["fullscreen", "alwaysOnTopWindows"] + "manifest_version": 2, + "name": "Moonlight Chrome", + "version": "0.01", + "description": "A Moonlight streaming plugin for Google Chrome", + "icons": { + "128": "icons/icon128.png", + "48": "icons/icon48.png", + "32": "icons/icon32.png", + "16": "icons/icon16.png" + }, + "app": { + "background": { + "persistent": false, + "scripts": ["background.js"] + } + }, + "permissions": ["fullscreen"] }