Commit e81dd958 authored by Sparkf's avatar Sparkf 🏙️
Browse files

optimize manifest

parent 88c0e5d2
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -34,7 +34,10 @@ module.exports = {
    '@vuepress/pwa',
    {
      serviceWorker: true,
      updatePopup: true,
        updatePopup: {
          message: "发现新内容可用",
          buttonText: "刷新"
        },
      },
    ],
    [
+6.57 KiB
Loading image diff...
+13 −14
Original line number Diff line number Diff line
@@ -2,38 +2,37 @@
  "name": "南科手册",
  "short_name": "南科手册",
  "icons": [{
    "src": "images/touch/homescreen48.png",
    "src": "logo-assets/touch/homescreen48.png",
    "sizes": "48x48",
    "type": "image/png"
  }, {
    "src": "images/touch/homescreen72.png",
    "src": "logo-assets/touch/homescreen72.png",
    "sizes": "72x72",
    "type": "image/png"
  }, {
    "src": "images/touch/homescreen96.png",
    "src": "logo-assets/touch/homescreen96.png",
    "sizes": "96x96",
    "type": "image/png"
  }, {
    "src": "images/touch/homescreen144.png",
    "src": "logo-assets/touch/homescreen144.png",
    "sizes": "144x144",
    "type": "image/png"
  }, {
    "src": "images/touch/homescreen168.png",
    "src": "logo-assets/touch/homescreen168.png",
    "sizes": "168x168",
    "type": "image/png"
  }, {
    "src": "images/touch/homescreen192.png",
    "src": "logo-assets/touch/homescreen192.png",
    "sizes": "192x192",
    "type": "image/png"
  }],
  }, {
    "src": "logo-assets/touch/homescreen512.png",
    "sizes": "512x512",
    "type": "image/png"
  }
],
  "start_url": "/index.html",
  "display": "standalone",
  "background_color": "#fff",
  "theme_color": "#3eaf7c",
  "prefer_related_applications": true,
  "related_applications": [
    {
      "platform": "web"
    }
  ]
  "theme_color": "#3eaf7c"
}
+1 −1
Original line number Diff line number Diff line
# 帮助我们完善

项目托管在 [SUSTC/sustc.github.io](https://github.com/sustc/sustc.github.io)
项目托管在 [SUSTC/sustech-online-ng](https://github.com/sustc/sustech-online-ng)

## 如何贡献
1. Pull request