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"] }