Skip to content

TagSpaces is an offline, open source, document manager with tagging support

PWA preparations

Ilian Sapundshiev9b79143c40f7
diff --git a/web/index.html b/web/index.html
index 9e6c3f43c..5be6f7d55 100644
--- a/web/index.html
+++ b/web/index.html
@@ -7,7 +7,12 @@
<meta name="msapplication-tap-highlight" content="no">
<meta charset="utf-8">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
+ <meta name="theme-color" content="#1DD19F">
+ <meta name="description" content="PWA for TagSpaces Application">
+ <link rel="icon" sizes="192x192" href="/node_modules/@tagspaces/pro/assets/icons/192x192.png" />
+ <link rel="apple-touch-icon" href="/node_modules/@tagspaces/pro/assets/icons/192x192.png" />
<link rel="stylesheet" type="text/css" href="dist/style.css">
+ <link rel="manifest" href="manifest.json">
<script type="text/javascript" src="extconfig.js"></script>
</head>
<body style="overflow: hidden; margin: 0; padding: 0;">
diff --git a/web/manifest.json b/web/manifest.json
new file mode 100644
index 000000000..5ad52477b
--- /dev/null
+++ b/web/manifest.json
@@ -0,0 +1,40 @@
+{
+ "name": "TagSpaces Pro",
+ "short_name": "TagSpaces",
+ "icons": [
+ {
+ "src": "/node_modules/@tagspaces/pro/assets/icons/128x128.png",
+ "sizes": "128x128",
+ "type": "image/png"
+ },
+ {
+ "src": "/node_modules/@tagspaces/pro/assets/icons/144x144.png",
+ "sizes": "144x144",
+ "type": "image/png"
+ },
+ {
+ "src": "/node_modules/@tagspaces/pro/assets/icons/152x152.png",
+ "sizes": "152x152",
+ "type": "image/png"
+ },
+ {
+ "src": "/node_modules/@tagspaces/pro/assets/icons/192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "/node_modules/@tagspaces/pro/assets/icons/256x256.png",
+ "sizes": "256x256",
+ "type": "image/png"
+ },
+ {
+ "src": "/node_modules/@tagspaces/pro/assets/icons/512x512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ],
+ "start_url": "/index.html",
+ "display": "standalone",
+ "background_color": "#1DD19F",
+ "theme_color": "#1DD19F"
+}