Skip to content

Commit

Permalink
Add more in the way of icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ccouzens committed Apr 20, 2024
1 parent a2fed16 commit f76e345
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 5 deletions.
6 changes: 5 additions & 1 deletion build-and-release.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ set -ex

(cd esbuild; go run .)

cp public/manifest.json public/icon.svg build/
cp \
public/icon-monochrome.svg \
public/icon.svg \
public/manifest.json \
build/

VERSION="$(git rev-parse HEAD)"

Expand Down
Binary file removed public/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions public/game.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<link rel="preload" href="computer.wasm" as="fetch" crossorigin />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="manifest" href="manifest.json" />
<link rel="icon" href="icon.svg" />
<title>Maze</title>
<meta
name="theme-color"
Expand Down
12 changes: 12 additions & 0 deletions public/icon-monochrome.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 8 additions & 3 deletions public/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@
"icons": [
{
"purpose": "monochrome",
"src": "./icon-monochrome.svg",
"type": "image/svg",
"sizes": "any"
},
{
"purpose": "any",
"src": "./icon.svg",
"type": "image/svg",
"sizes": "512x512"
"sizes": "any"
}
],
"start_url": "http://storage.googleapis.com/maze-playground/game.html",
Expand Down

0 comments on commit f76e345

Please sign in to comment.