From 02ce8b3e51e137b504be33e4a183b70937d6248d Mon Sep 17 00:00:00 2001 From: "Saw, Hansly Kendrich" Date: Wed, 14 Sep 2022 12:34:00 +0800 Subject: [PATCH] added manifests - should be installable on Chromium for now --- app/app.json | 0 chrome.js | 8 ++++++++ manifest.json | 11 +++++++++++ 3 files changed, 19 insertions(+) create mode 100644 app/app.json create mode 100644 chrome.js create mode 100644 manifest.json 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"] + } + } +}