feat: add WPA manifest to web version (#1369)

This commit is contained in:
iTrooz
2023-10-17 09:31:56 +02:00
committed by GitHub
parent c49aad6cd3
commit 88b2f60291
4 changed files with 15 additions and 0 deletions

2
dist/web/Dockerfile vendored
View File

@@ -82,6 +82,8 @@ COPY --from=build [ \
"/build/wasm-config.js", \
"/build/enable-threads.js", \
"/build/favicon.ico", \
"/build/icon.png", \
"/build/manifest.json", \
\
# Destination \
"./" \

BIN
dist/web/source/icon.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

View File

@@ -1,6 +1,7 @@
<!doctype html>
<html lang="en-us">
<head>
<link rel="manifest" href="manifest.json" />
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

12
dist/web/source/manifest.json vendored Normal file
View File

@@ -0,0 +1,12 @@
{
"name": "ImHex",
"icons": [
{
"src": "icon.png",
"type": "image/png",
"sizes": "640x640"
}
],
"start_url": ".",
"display": "standalone"
}