Skip to content

Commit

Permalink
Merge pull request #10 from creelonestudios/pwa
Browse files Browse the repository at this point in the history
support pwa install
  • Loading branch information
j0code authored Mar 17, 2024
2 parents a41d4be + ada8336 commit 4b4ee5d
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 0 deletions.
Binary file added public/icons/144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/480.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/576.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<title>Tiny MC</title>
<script src="./js/main.js" type="module" defer></script>
<link href="./css/style.css" rel="stylesheet" />
<link href="tinymc.webmanifest" rel="manifest" />
<link href="icons/24.png" rel="icon" type="image/x-icon" />
</head>
<body><canvas id="game"></canvas></body>
</html>
45 changes: 45 additions & 0 deletions public/tinymc.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "Tiny MC",
"description": "2D blocky game inspired my Minecraft Mob Votes",
"start_url": ".",
"id": "tinymc",
"display": "standalone",
"display_override": ["standalone", "minimal-ui", "browser"],
"icons": [
{
"src": "icons/576.png",
"type": "image/png",
"sizes": "576x576"
}, {
"src": "icons/480.png",
"type": "image/png",
"sizes": "480x480"
}, {
"src": "icons/240.png",
"type": "image/png",
"sizes": "240x240"
}, {
"src": "icons/192.png",
"type": "image/png",
"sizes": "192x192"
}, {
"src": "icons/144.png",
"type": "image/png",
"sizes": "144x144"
}, {
"src": "icons/96.png",
"type": "image/png",
"sizes": "96x96"
}, {
"src": "icons/48.png",
"type": "image/png",
"sizes": "48x48"
}, {
"src": "icons/24.png",
"type": "image/png",
"sizes": "24x24"
}
],
"orientation": "landscape",
"theme-color": "#38601f"
}

0 comments on commit 4b4ee5d

Please sign in to comment.