From: Lucas Teixeira Date: Thu, 8 Feb 2018 08:52:35 +0000 (-0200) Subject: Include Web Manifest (#273) X-Git-Tag: v0.0.21-alpha~8 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=9ccf111912cae2a345d8ca0cf412703e59d19cf8;hp=00336945ce75c04d603ed7950e18b699a606ac8b;p=github%2FChocobozzz%2FPeerTube.git Include Web Manifest (#273) * Include Web Manifest Now we need to fix the path, which shouldn't be hard. * Delete unused icon * Remove Thumbs.db That file was automatically generated * Fixed icon path * Fixed typo --- diff --git a/client/src/assets/images/icons/.gitignore b/client/src/assets/images/icons/.gitignore new file mode 100644 index 000000000..aafa76831 --- /dev/null +++ b/client/src/assets/images/icons/.gitignore @@ -0,0 +1 @@ +Thumbs.db \ No newline at end of file diff --git a/client/src/assets/images/icons/hdpi.png b/client/src/assets/images/icons/hdpi.png new file mode 100644 index 000000000..c1e7b9c29 Binary files /dev/null and b/client/src/assets/images/icons/hdpi.png differ diff --git a/client/src/assets/images/icons/ldpi.png b/client/src/assets/images/icons/ldpi.png new file mode 100644 index 000000000..6ba0ac319 Binary files /dev/null and b/client/src/assets/images/icons/ldpi.png differ diff --git a/client/src/assets/images/icons/mdpi.png b/client/src/assets/images/icons/mdpi.png new file mode 100644 index 000000000..9524a6d4f Binary files /dev/null and b/client/src/assets/images/icons/mdpi.png differ diff --git a/client/src/assets/images/icons/xhdpi.png b/client/src/assets/images/icons/xhdpi.png new file mode 100644 index 000000000..79b0b8340 Binary files /dev/null and b/client/src/assets/images/icons/xhdpi.png differ diff --git a/client/src/assets/images/icons/xxhdpi.png b/client/src/assets/images/icons/xxhdpi.png new file mode 100644 index 000000000..6568bb9ad Binary files /dev/null and b/client/src/assets/images/icons/xxhdpi.png differ diff --git a/client/src/assets/images/icons/xxxhdpi.png b/client/src/assets/images/icons/xxxhdpi.png new file mode 100644 index 000000000..ee4c849d7 Binary files /dev/null and b/client/src/assets/images/icons/xxxhdpi.png differ diff --git a/client/src/index.html b/client/src/index.html index 094d52454..79c3edea8 100644 --- a/client/src/index.html +++ b/client/src/index.html @@ -7,6 +7,8 @@ + + diff --git a/client/src/manifest.json b/client/src/manifest.json new file mode 100644 index 000000000..3a0c58b96 --- /dev/null +++ b/client/src/manifest.json @@ -0,0 +1,40 @@ +{ + "background_color": "gray", + "description": "A federated decentralized video streaming platform", + "display": "fullscreen", + "icons": [ + { + "src": "/client/assets/images/icons/hdpi.png", + "sizes": "72x72", + "type": "image/png" + }, + { + "src": "/client/assets/images/icons/ldpi.png", + "sizes": "36x36", + "type": "image/png" + }, + { + "src": "/client/assets/images/icons/mdpi.png", + "sizes": "48x48", + "type": "image/png" + }, + { + "src": "/client/assets/images/icons/xhdpi.png", + "sizes": "96x96", + "type": "image/png" + }, + { + "src": "/client/assets/images/icons/xxhdpi.png", + "sizes": "144x144", + "type": "image/png" + }, + { + "src": "/client/assets/images/icons/xxxhdpi.png", + "sizes": "192x192", + "type": "image/png" + } + ], + "name": "PeerTube", + "short_name": "PeerTube", + "start_url": "/videos/recently-added" +} \ No newline at end of file