From d9a4620f36856a954eb1f79c876c9d3d11e8aa8f Mon Sep 17 00:00:00 2001 From: Eric Han Date: Thu, 29 Jun 2023 17:11:45 +0800 Subject: [PATCH] fix icon not set when adding bookmark to iOS home screen --- config/webpack/webpack.common.js | 1 + web/apple-touch-icon.png | Bin 0 -> 3842 bytes web/index.html | 1 + 3 files changed, 2 insertions(+) create mode 100644 web/apple-touch-icon.png diff --git a/config/webpack/webpack.common.js b/config/webpack/webpack.common.js index 28bdc48a9ed4..18d730db26a7 100644 --- a/config/webpack/webpack.common.js +++ b/config/webpack/webpack.common.js @@ -82,6 +82,7 @@ const webpackConfig = ({envFile = '.env', platform = 'web'}) => ({ {from: 'web/favicon.png'}, {from: 'web/favicon-unread.png'}, {from: 'web/og-preview-image.png'}, + {from: 'web/apple-touch-icon.png'}, {from: 'assets/css', to: 'css'}, {from: 'assets/fonts/web', to: 'fonts'}, {from: 'node_modules/react-pdf/dist/esm/Page/AnnotationLayer.css', to: 'css/AnnotationLayer.css'}, diff --git a/web/apple-touch-icon.png b/web/apple-touch-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..625b519e2cfade153c4512a6ad159b4c8cfebe58 GIT binary patch literal 3842 zcmb7HS2!C0*A5c1YR8IErL~oq(I7_c-4etejlD|DB6ihmX^pC?R;{46P-^dn)~r!Q zY*ngal+X8H{}=y%anAdk_uRbCxj5&%$tFhH^t4>G004kqS4Y$A3hVzH)Rb2lK1wNb z1vGv-R)GKj9m{`%43JmAaYd2^nrW*8aAT0os{;5CVTb?#YSZb?9YFxV^%uIDi2EUA zyRYD0_btKwzj&lrp&|gzq@F}wv*?==AU7d&fq+QSlX~42LPA)R(4Aa}hXRh4*mDIN3c?6M@2$7O&tdie^ocT(?+ zk%UpG-FS2j03t)g7DpE$Ow|ZQ!u)6xRz_K2T52v<5Rm=}IhIoE|Ij9-k}dkDRHs^< z9$iN5pHKeq#FR?6zv}*l;joEhXd^>Rs{zk8Kr}()iWjH$%)c~FTmQ@{oTtiD8mXt)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s@0_8=zg-sRd^CXwZZOY%Kz z)d8k1wz13^qW`gj;kLHj5wl^@7nXGdWr8^2@U;ij~S1{#K%c8UJpF8q%s*)X$DtK0|rLna>Rai z({m?qAj?*6lRgs`tONADIB%Dx^FQXXwxbwz#TBR%)6&W-Vyi+iiM5`6bV&_W;^KVh z&3~}RU(UlwPJRQnPZZ7GG{t5al|GYeIDHR6Fl63~;nFajOG3K(cyDKajYbs|fjIf( zQ>v`F5jeAThTBiXLBde4{vaB5BTj9q){CaP@r8^&^_-cD3zCDO&YS1%Z>BqQS|_{Q zZq$V%sg~B;4qj*vMyFq>?L>i`Qa_k~G=ikxZgB{<)V` z6mf`z?H?dkQn+TNh`5K@9VMFokAM4L+@F>aj~JSb!sbAg4bX4e7xCEh%CZ7JHfd04`TA;s5{u literal 0 HcmV?d00001 diff --git a/web/index.html b/web/index.html index 90011c87e7a9..d207fa54b97a 100644 --- a/web/index.html +++ b/web/index.html @@ -120,6 +120,7 @@ } + <% if (htmlWebpackPlugin.options.usePolyfillIO) { %>