2015-08-22 33 views
0

我的根目錄中有一個標準的ICO文件。它按預期工作。指定與應用程序圖標不同的網站圖標

在爲Chrome/Android製作我的流星web應用mobile-web-app-capable並將必要的圖標添加到its required manifest file後,我的原始網站圖標現在顯示應用圖標。

我想爲網站圖標和應用程序主屏幕分別顯示圖標。我怎樣才能做到這一點?

回答

0

問題似乎通過在Chrome移動網絡應用程序元代碼之後指定圖標來解決。具體來說:

<link rel="manifest" href="manifest.json"> 
<meta name="mobile-web-app-capable" content="yes"> 
... 
<link rel='shortcut icon' type='image/x-icon' href='/favicon.ico' /> 

很簡單。