diff --git a/app/img/icons/icon-128x128.png b/app/img/icons/icon-128x128.png new file mode 100644 index 00000000..fdcb5bda Binary files /dev/null and b/app/img/icons/icon-128x128.png differ diff --git a/app/img/icons/icon-144x144.png b/app/img/icons/icon-144x144.png new file mode 100644 index 00000000..3b665b01 Binary files /dev/null and b/app/img/icons/icon-144x144.png differ diff --git a/app/img/icons/icon-152x152.png b/app/img/icons/icon-152x152.png new file mode 100644 index 00000000..3d08d91e Binary files /dev/null and b/app/img/icons/icon-152x152.png differ diff --git a/app/img/icons/icon-192x192.png b/app/img/icons/icon-192x192.png new file mode 100644 index 00000000..d98f2d9b Binary files /dev/null and b/app/img/icons/icon-192x192.png differ diff --git a/app/img/icons/icon-384x384.png b/app/img/icons/icon-384x384.png new file mode 100644 index 00000000..a96ca2b2 Binary files /dev/null and b/app/img/icons/icon-384x384.png differ diff --git a/app/img/icons/icon-512x512.png b/app/img/icons/icon-512x512.png new file mode 100644 index 00000000..8ba2187c Binary files /dev/null and b/app/img/icons/icon-512x512.png differ diff --git a/app/img/icons/icon-72x72.png b/app/img/icons/icon-72x72.png new file mode 100644 index 00000000..0fab31bd Binary files /dev/null and b/app/img/icons/icon-72x72.png differ diff --git a/app/img/icons/icon-96x96.png b/app/img/icons/icon-96x96.png new file mode 100644 index 00000000..fd7261e6 Binary files /dev/null and b/app/img/icons/icon-96x96.png differ diff --git a/app/manifest.json b/app/manifest.json index b1fb18bf..52473c99 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -1,9 +1,52 @@ { - "name": "TheDesk", - "short_name": "TheDesk", - "theme_color": "#212121", - "background_color": "#212121", - "display": "standalone", - "scope": "/", - "start_url": "/" - } \ No newline at end of file + "name": "TheDesk", + "short_name": "TheDesk", + "theme_color": "#212121", + "background_color": "#212121", + "display": "standalone", + "Scope": "/", + "start_url": "/", + "icons": [ + { + "src": "img/icons/icon-72x72.png", + "sizes": "72x72", + "type": "image/png" + }, + { + "src": "img/icons/icon-96x96.png", + "sizes": "96x96", + "type": "image/png" + }, + { + "src": "img/icons/icon-128x128.png", + "sizes": "128x128", + "type": "image/png" + }, + { + "src": "img/icons/icon-144x144.png", + "sizes": "144x144", + "type": "image/png" + }, + { + "src": "img/icons/icon-152x152.png", + "sizes": "152x152", + "type": "image/png" + }, + { + "src": "img/icons/icon-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "img/icons/icon-384x384.png", + "sizes": "384x384", + "type": "image/png" + }, + { + "src": "img/icons/icon-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "splash_pages": null +} \ No newline at end of file diff --git a/app/view/make/index.sample.html b/app/view/make/index.sample.html index 3453d08d..4336a6e5 100644 --- a/app/view/make/index.sample.html +++ b/app/view/make/index.sample.html @@ -13,7 +13,6 @@ - @@comment-start@@ `) + source = source.replace(/@@pwa@@/g, ` + `) source = source.replace(/@@node_base@@/g, 'dependencies') } else { source = source.replace(/@@pwa@@/g, '')