Better iOS mobile app support

This commit is contained in:
Federico Santandrea 2020-06-23 10:00:09 +02:00
parent 0a3a85c1e7
commit 280a4889ce
3 changed files with 4 additions and 4 deletions

View File

@ -17,12 +17,9 @@ obj/c2t-96h.so: c2t
link:
mkdir -p bin
emcc --shell-file sendalo.html.tpl -s INVOKE_RUN=0 -s EXIT_RUNTIME=0 -s ALLOW_MEMORY_GROWTH=1 -s EXTRA_EXPORTED_RUNTIME_METHODS=['callMain'] -o bin/sendalo.html obj/c2t-96h.so
cp apple-touch-icon.png bin/
addproxy:
head --bytes=-1 sendalo.php.tpl > bin/sendalo.php
cat bin/sendalo.html >> bin/sendalo.php
# rm bin/sendalo.html
test:
cd bin; python3 -m http.server 65020

BIN
apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -3,6 +3,9 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="apple-touch-icon" href="apple-touch-icon.png"/>
<link rel="icon" type="image/png" href="apple-touch-icon.png" />
<title>Sendalo</title>