ios: app icon

This commit is contained in:
jean-emmanuel 2018-02-24 23:06:40 +01:00
parent b5f871d972
commit e21e1bb8d9
4 changed files with 5 additions and 3 deletions

View file

@ -6,6 +6,8 @@
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="apple-touch-icon" href="browser/logo.png" />
<link rel="apple-touch-startup-image" href="browser/logo.png" />
<link rel="preload" href="browser/fonts/fa-solid-900.woff" as="font"/>
<link rel="preload" href="browser/fonts/roboto-medium.woff" as="font"/>
<link rel="stylesheet" type="text/css" href="browser/styles.css" hot-reload/>

View file

@ -15,7 +15,7 @@ module.exports = function(options={}) {
width: options.width || 800,
height: options.height || 600,
title: options.title || settings.read('appName'),
icon: path.resolve(__dirname + '/logo.png'),
icon: path.resolve(__dirname + '/../browser/logo.png'),
backgroundColor: options.color || bgColor,
type:options.type,
webPreferences: {