From 989195d625756432e99c9ac5a7b6f7dc3f97f8fb Mon Sep 17 00:00:00 2001 From: Aidan Campbell Date: Sat, 13 Feb 2016 04:37:55 -0500 Subject: [PATCH] now with fullscreen support --- background.js | 8 ++++++++ manifest.json | 7 +++---- 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 background.js diff --git a/background.js b/background.js new file mode 100644 index 0000000..c1045f5 --- /dev/null +++ b/background.js @@ -0,0 +1,8 @@ +chrome.app.runtime.onLaunched.addListener(function() { + 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 fbc9890..526ce27 100644 --- a/manifest.json +++ b/manifest.json @@ -1,9 +1,8 @@ { + "manifest_version": 2, "name": "Moonlight Chrome", "version": "0.01", - "manifest_version": 2, "description": "A Moonlight streaming plugin for Google Chrome", - "offline_enabled": true, "icons": { "128": "icons/icon128.png", "48": "icons/icon48.png", @@ -12,9 +11,9 @@ }, "app": { "background": { - "persistent": false + "scripts": ["background.js"] } }, - "permissions": [] + "permissions": ["fullscreen", "alwaysOnTopWindows"] }