mirror of
https://github.com/moparisthebest/mail
synced 2024-08-13 16:43:47 -04:00
Add mobile homescreen icons and cca build scripts
This commit is contained in:
parent
1ee280c74e
commit
e229e106dd
@ -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
8
res/cca_run_ios.sh
Executable 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
BIN
src/img/icon-120-ios.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
BIN
src/img/icon-128.png
Normal file
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
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
BIN
src/img/icon-196.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
@ -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">
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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", {
|
||||
|
@ -3,10 +3,11 @@
|
||||
"versionCode": 5,
|
||||
"CFBundleVersion": "1.1.1",
|
||||
|
||||
// platform overrides
|
||||
"ios": {
|
||||
"oauth2": {
|
||||
"client_id": "440907777130-m0cn01eot554ik1h70hfcmvidnq61oer.apps.googleusercontent.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"android": {}
|
||||
}
|
@ -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>© {{ date | date:'yyyy'}} Whiteout Networks GmbH</p>
|
||||
|
Loading…
Reference in New Issue
Block a user