Skip to content

Commit

Permalink
fix icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc committed Feb 15, 2019
1 parent c44f0ee commit 74de678
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 26 deletions.
2 changes: 2 additions & 0 deletions core/config/default.config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jeedom::firstUse = 1
folder::tmp = /tmp/jeedom
product_name=Jeedom
product_icon=core/img/logo-jeedom-sans-nom-couleur-25x25.png
product_icon192=core/img/logo-jeedom-sans-nom-couleur-192x192.png
product_icon512=core/img/logo-jeedom-sans-nom-couleur-512x512.png
product_image=core/img/logo-jeedom-grand-nom-couleur.svg
product_connection_image=core/img/logo-jeedom-grand-nom-couleur-460x320.png

Expand Down
Binary file added core/img/logo-jeedom-sans-nom-couleur-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added core/img/logo-jeedom-sans-nom-couleur-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 6 additions & 26 deletions manifest.json.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,43 +8,23 @@
"theme_color": "#94ca02",
"name": "<?php echo config::byKey('product_name'); ?>",
"gcm_sender_id": "103953800507",
"start_url": "index.php",
"display": "standalone",
"icons": [
{
"src": "<?php echo config::byKey('product_icon'); ?>",
"sizes": "25x25",
"type": "image/png"
},
{
"src": "<?php echo config::byKey('product_icon'); ?>",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "<?php echo config::byKey('product_icon'); ?>",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "<?php echo config::byKey('product_icon'); ?>",
"sizes": "128x128",
"type": "image/png"
},
{
"src": "<?php echo config::byKey('product_icon'); ?>",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "<?php echo config::byKey('product_icon'); ?>",
"src": "<?php echo config::byKey('product_icon192'); ?>",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "<?php echo config::byKey('product_icon'); ?>",
"sizes": "256x256",
"src": "<?php echo config::byKey('product_icon512'); ?>",
"sizes": "512x512",
"type": "image/png"
}
],
"start_url": "index.php",
"display": "standalone"
]
}
1 change: 1 addition & 0 deletions mobile/js/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ function initApplication(_reinit) {
insertHeader("apple-touch-startup-image",JEEDOM_DATA.product_icon, "256x256");
insertHeader("apple-touch-icon-precomposed",JEEDOM_DATA.product_icon, "256x256");
insertHeader("shortcut icon",JEEDOM_DATA.product_icon, "128x128");
insertHeader("icon",JEEDOM_DATA.product_icon, "128x128");
insertHeader("apple-touch-startup-image",JEEDOM_DATA.product_icon, null, "(device-width: 320px)");
insertHeader("apple-touch-startup-image",JEEDOM_DATA.product_icon, null, "(device-width: 320px) and (-webkit-device-pixel-ratio: 2)");
insertHeader("apple-touch-startup-image",JEEDOM_DATA.product_icon, null, "(device-width: 768px) and (orientation: portrait)");
Expand Down

0 comments on commit 74de678

Please sign in to comment.