BlueMap icon indicating copy to clipboard operation
BlueMap copied to clipboard

Add a web app manifest.json

Open ALiangLiang opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Add Web App manifest.json to allow users to "install" it.

Describe the solution you'd like

I want my players open bluemap by click it on taskbar or desktop.

Ref: https://developer.mozilla.org/en-US/docs/Web/Manifest

ALiangLiang avatar Jun 13 '21 13:06 ALiangLiang

There's a PWA plugin for Vue CLI that generates a manifest.json automatically. It also generates a service worker, which might be a bit overkill (considering the map can't be used offline anyways).

Maybe the webpack plugin webpack-pwa-manifest is all that's needed (haven't tried the plugin yet).

@ALiangLiang Note that in Microsoft Edge (and afaik Google Chrome as well) you can "install" any website as an app (even if it doesn't specify a manifest) by clicking on the hamburger menu in the browser and then select "Apps" => "Install this site as an app".

C0Nd3Mnd avatar Jun 22 '21 23:06 C0Nd3Mnd

Implemented in 3.4

TBlueF avatar Sep 12 '22 18:09 TBlueF