1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-21 16:35:04 -05:00

Add mobile homescreen icons and cca build scripts

This commit is contained in:
Tankred Hase 2014-08-13 13:37:55 +02:00
parent 1ee280c74e
commit e229e106dd
14 changed files with 31 additions and 6 deletions

View File

@ -5,5 +5,4 @@ cd `dirname $0`
cd ..
cd release/cca/Whiteout
#cca run ios
cca run android --device

8
res/cca_run_ios.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
# go to root
cd `dirname $0`
cd ..
cd release/cca/Whiteout
cca run ios

BIN
src/img/icon-120-ios.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
src/img/icon-128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
src/img/icon-152-ios.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
src/img/icon-196.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -11,6 +11,20 @@
alert('Warning! Your browser does not support Content-Security-Policy (CSP). If possible please switch to a different browser.');
</script>
<!-- iOS homescreen link -->
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- iOS iPad icon (retina) -->
<link rel="apple-touch-icon" sizes="152x152" href="img/icon-152-ios.png">
<!-- iOS iPhone icon (retina) -->
<link rel="apple-touch-icon" sizes="120x120" href="img/icon-120-ios.png">
<!-- iOS status bar black with white text -->
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- standard homescreen link -->
<meta name="mobile-web-app-capable" content="yes">
<!-- standard icon (retina) -->
<link rel="icon" sizes="196x196" href="img/icon-196.png">
<!-- Viewport and styles -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" media="all" href="css/all.min.css" type="text/css">

View File

@ -89,7 +89,7 @@ define(function(require) {
}
},
checkOutboxInterval: 5000,
iconPath: '/img/icon.png',
iconPath: '/img/icon-128-chrome.png',
verificationUrl: '/verify/',
verificationUuidLength: 36,
dbVersion: 5,

View File

@ -5,7 +5,10 @@
"manifest_version": 2,
"offline_enabled": true,
"icons": {
"128": "img/icon.png"
"120": "img/icon-120-ios.png",
"152": "img/icon-152-ios.png",
"128": "img/icon-128-chrome.png",
"196": "img/icon-196.png"
},
"permissions": [
"unlimitedStorage", {

View File

@ -3,10 +3,11 @@
"versionCode": 5,
"CFBundleVersion": "1.1.1",
// platform overrides
"ios": {
"oauth2": {
"client_id": "440907777130-m0cn01eot554ik1h70hfcmvidnq61oer.apps.googleusercontent.com"
}
}
},
"android": {}
}

View File

@ -5,7 +5,7 @@
<div class="content">
<img src="img/icon.png">
<img src="img/icon-128.png">
<h2>Whiteout Mail</h2>
<p>Version {{version}}</p>
<p>&copy; {{ date | date:'yyyy'}} Whiteout Networks GmbH</p>