updated manifests
- The app doesn't work as a Chrome app. It is also best to use it as a PWA instead. - Logo was inserted.
This commit is contained in:
parent
ab638b152c
commit
71665f6984
5 changed files with 17 additions and 19 deletions
17
app.json
Normal file
17
app.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"lang": "en-us",
|
||||
"name": "RollDice",
|
||||
"description": "Chinese Dice Game",
|
||||
"start_url": "/",
|
||||
"background_color": "#F44336",
|
||||
"theme_color": "#F44336",
|
||||
"orientation": "any",
|
||||
"display": "standalone",
|
||||
"icons": [
|
||||
{
|
||||
"src": "media/logo.png",
|
||||
"sizes": "1024x1024"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
chrome.app.runtime.onLaunched.addListener(function() {
|
||||
chrome.app.window.create('index.html', {
|
||||
'outerBounds': {
|
||||
'width': 500,
|
||||
'height': 500
|
||||
}
|
||||
});
|
||||
});
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"name": "RollDice",
|
||||
"description": "Chinese dice game",
|
||||
"version": "0.1",
|
||||
"manifest_version": 3,
|
||||
"app": {
|
||||
"background": {
|
||||
"scripts": ["chrome.js"]
|
||||
}
|
||||
}
|
||||
}
|
BIN
media/logo.png
Normal file
BIN
media/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 188 KiB |
Loading…
Reference in a new issue