Browse Source

add some chrome homescreen stuff

Andrew Dolgov 2 years ago
parent
commit
6dff690859
3 changed files with 18 additions and 1 deletions
  1. BIN
      images/icon-hires.png
  2. 4 1
      index.php
  3. 14 0
      manifest.json

BIN
images/icon-hires.png


+ 4 - 1
index.php

@@ -39,9 +39,12 @@
 
 	<link id="favicon" rel="shortcut icon" type="image/png" href="images/favicon.png" />
 
-	<link rel="icon" type="image/png" sizes="72x72"
+	<link rel="icon" type="image/png" sizes="144x144"
 		href="images/icon-hires.png" />
 
+	<meta name="mobile-web-app-capable" content="yes">
+	<link rel="manifest" href="manifest.json">
+
 	<?php
 	foreach (array("lib/prototype.js", "lib/localforage.min.js", "lib/hammer.min.js",
 				"lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls",

+ 14 - 0
manifest.json

@@ -0,0 +1,14 @@
+{
+  "name": "Tiny Tiny IRC",
+  "icons": [
+    {
+      "src": "images/icon-hires.png",
+      "sizes": "144x144",
+      "type": "image/png",
+      "density": 4.0
+    }
+  ],
+  "start_url": "index.php",
+  "display": "standalone",
+  "orientation": "portrait"
+}