diff --git a/packages/app/web/favicon.png b/packages/app/web/favicon.png
new file mode 100644
index 00000000..df7828da
Binary files /dev/null and b/packages/app/web/favicon.png differ
diff --git a/packages/app/web/icons/Icon-192.png b/packages/app/web/icons/Icon-192.png
new file mode 100644
index 00000000..76628027
Binary files /dev/null and b/packages/app/web/icons/Icon-192.png differ
diff --git a/packages/app/web/icons/Icon-512.png b/packages/app/web/icons/Icon-512.png
new file mode 100644
index 00000000..fb752122
Binary files /dev/null and b/packages/app/web/icons/Icon-512.png differ
diff --git a/packages/app/web/index.html b/packages/app/web/index.html
new file mode 100644
index 00000000..06c64d4f
--- /dev/null
+++ b/packages/app/web/index.html
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Neon
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/app/web/manifest.json b/packages/app/web/manifest.json
new file mode 100644
index 00000000..7a9cfdd4
--- /dev/null
+++ b/packages/app/web/manifest.json
@@ -0,0 +1,23 @@
+{
+ "name": "Neon",
+ "short_name": "Neon",
+ "start_url": ".",
+ "display": "standalone",
+ "background_color": "#f37736",
+ "theme_color": "#f37736",
+ "description": "A beautiful convergent cross-platform client for Nextcloud written in Flutter.",
+ "orientation": "portrait-primary",
+ "prefer_related_applications": false,
+ "icons": [
+ {
+ "src": "icons/Icon-192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "icons/Icon-512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ]
+}
diff --git a/tool/generate-assets.sh b/tool/generate-assets.sh
index 0d910fe4..dd7b0366 100755
--- a/tool/generate-assets.sh
+++ b/tool/generate-assets.sh
@@ -41,6 +41,13 @@ function export_mipmap_icon_all() {
wait
}
+function export_favicon() {
+ source="$1"
+ size="$2"
+ destination="$3"
+ inkscape "$source" -o "$destination" -w "$size" -h "$size"
+}
+
function precompile_assets() {
fvm dart run vector_graphics_compiler --input-dir assets/
find assets/ -name "*.svg" -exec rm {} \;
@@ -91,6 +98,10 @@ copy_app_svg notifications external/nextcloud-notifications
done
wait
+ export_favicon "assets/logo.svg" 192 "web/icons/Icon-192.png"
+ export_favicon "assets/logo.svg" 512 "web/icons/Icon-512.png"
+ export_favicon "assets/logo.svg" 16 "web/favicon.png"
+
fvm dart run flutter_native_splash:create
precompile_assets