diff --git a/app/app.json b/app/app.json new file mode 100644 index 0000000..e69de29 diff --git a/chrome.js b/chrome.js new file mode 100644 index 0000000..e4c1cf7 --- /dev/null +++ b/chrome.js @@ -0,0 +1,8 @@ +chrome.app.runtime.onLaunched.addListener(function() { + chrome.app.window.create('index.html', { + 'outerBounds': { + 'width': 500, + 'height': 500 + } + }); +}); diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..cae139d --- /dev/null +++ b/manifest.json @@ -0,0 +1,11 @@ +{ + "name": "RollDice", + "description": "Chinese dice game", + "version": "0.1", + "manifest_version": 3, + "app": { + "background": { + "scripts": ["chrome.js"] + } + } +}