summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mannehed <samuel@cendio.se>2022-12-22 13:15:25 +0100
committerSamuel Mannehed <samuel@cendio.se>2022-12-22 13:15:25 +0100
commitc8d37ae8bd8c9b102e6a2d54cfc5fe322f70cb9e (patch)
treec26a130b74395f3367b165e4d8d907c741575a04
parent079889a13ad95714deaa11c994368d47f042658a (diff)
downloadnovnc-c8d37ae8bd8c9b102e6a2d54cfc5fe322f70cb9e.tar.gz
Provide up to date set of apple-touch-icons
Apple requires a different set of icons now-a-days. This change involves removing the 76x76 icon and adding icons with the following sizes; 40, 58, 80, 87, 167 and 180.
-rw-r--r--app/images/icons/Makefile9
-rw-r--r--app/images/icons/novnc-167x167.pngbin0 -> 5449 bytes
-rw-r--r--app/images/icons/novnc-180x180.pngbin0 -> 5825 bytes
-rw-r--r--app/images/icons/novnc-40x40.pngbin0 -> 1478 bytes
-rw-r--r--app/images/icons/novnc-58x58.pngbin0 -> 1898 bytes
-rw-r--r--app/images/icons/novnc-76x76.pngbin2874 -> 0 bytes
-rw-r--r--app/images/icons/novnc-80x80.pngbin0 -> 3018 bytes
-rw-r--r--app/images/icons/novnc-87x87.pngbin0 -> 3157 bytes
-rw-r--r--vnc.html14
9 files changed, 17 insertions, 6 deletions
diff --git a/app/images/icons/Makefile b/app/images/icons/Makefile
index fff7e47..5635b53 100644
--- a/app/images/icons/Makefile
+++ b/app/images/icons/Makefile
@@ -1,9 +1,12 @@
BROWSER_SIZES := 16 24 32 48 64
ANDROID_SIZES := 72 96 144 192
-IPHONE_SIZES := 60 120
-IPAD_SIZES := 76 152
-ALL_SIZES := $(BROWSER_SIZES) $(ANDROID_SIZES) $(IPHONE_SIZES) $(IPAD_SIZES)
+#IOS_1X_SIZES := 20 29 40 76 # No such devices exist anymore
+IOS_2X_SIZES := 40 58 80 120 152 167
+IOS_3X_SIZES := 60 87 120 180
+ALL_IOS_SIZES := $(IOS_1X_SIZES) $(IOS_2X_SIZES) $(IOS_3X_SIZES)
+
+ALL_SIZES := $(BROWSER_SIZES) $(ANDROID_SIZES) $(ALL_IOS_SIZES)
ALL_ICONS := $(foreach SIZE, $(ALL_SIZES), novnc-$(SIZE)x$(SIZE).png)
all: $(ALL_ICONS)
diff --git a/app/images/icons/novnc-167x167.png b/app/images/icons/novnc-167x167.png
new file mode 100644
index 0000000..6b361b6
--- /dev/null
+++ b/app/images/icons/novnc-167x167.png
Binary files differ
diff --git a/app/images/icons/novnc-180x180.png b/app/images/icons/novnc-180x180.png
new file mode 100644
index 0000000..cf8802b
--- /dev/null
+++ b/app/images/icons/novnc-180x180.png
Binary files differ
diff --git a/app/images/icons/novnc-40x40.png b/app/images/icons/novnc-40x40.png
new file mode 100644
index 0000000..4e42a1d
--- /dev/null
+++ b/app/images/icons/novnc-40x40.png
Binary files differ
diff --git a/app/images/icons/novnc-58x58.png b/app/images/icons/novnc-58x58.png
new file mode 100644
index 0000000..ba2564e
--- /dev/null
+++ b/app/images/icons/novnc-58x58.png
Binary files differ
diff --git a/app/images/icons/novnc-76x76.png b/app/images/icons/novnc-76x76.png
deleted file mode 100644
index aef61c4..0000000
--- a/app/images/icons/novnc-76x76.png
+++ /dev/null
Binary files differ
diff --git a/app/images/icons/novnc-80x80.png b/app/images/icons/novnc-80x80.png
new file mode 100644
index 0000000..19b1488
--- /dev/null
+++ b/app/images/icons/novnc-80x80.png
Binary files differ
diff --git a/app/images/icons/novnc-87x87.png b/app/images/icons/novnc-87x87.png
new file mode 100644
index 0000000..ed7042c
--- /dev/null
+++ b/app/images/icons/novnc-87x87.png
Binary files differ
diff --git a/vnc.html b/vnc.html
index 2da8f0b..eae8220 100644
--- a/vnc.html
+++ b/vnc.html
@@ -37,11 +37,19 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
- <!-- Home Screen Icons (favourites and bookmarks use the normal icons) -->
- <link rel="apple-touch-icon" sizes="60x60" type="image/png" href="app/images/icons/novnc-60x60.png">
- <link rel="apple-touch-icon" sizes="76x76" type="image/png" href="app/images/icons/novnc-76x76.png">
+
+ <!-- @2x -->
+ <link rel="apple-touch-icon" sizes="40x40" type="image/png" href="app/images/icons/novnc-40x40.png">
+ <link rel="apple-touch-icon" sizes="58x58" type="image/png" href="app/images/icons/novnc-58x58.png">
+ <link rel="apple-touch-icon" sizes="80x80" type="image/png" href="app/images/icons/novnc-80x80.png">
<link rel="apple-touch-icon" sizes="120x120" type="image/png" href="app/images/icons/novnc-120x120.png">
<link rel="apple-touch-icon" sizes="152x152" type="image/png" href="app/images/icons/novnc-152x152.png">
+ <link rel="apple-touch-icon" sizes="167x167" type="image/png" href="app/images/icons/novnc-167x167.png">
+ <!-- @3x -->
+ <link rel="apple-touch-icon" sizes="60x60" type="image/png" href="app/images/icons/novnc-60x60.png">
+ <link rel="apple-touch-icon" sizes="87x87" type="image/png" href="app/images/icons/novnc-87x87.png">
+ <link rel="apple-touch-icon" sizes="120x120" type="image/png" href="app/images/icons/novnc-120x120.png">
+ <link rel="apple-touch-icon" sizes="180x180" type="image/png" href="app/images/icons/novnc-180x180.png">
<!-- Stylesheets -->
<link rel="stylesheet" href="app/styles/base.css">