-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Code-server can not install as desktop PWA in current version #1181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Unfortunately, this is a upstream issue, which we cannot solve by our own. If you think this also has the same behavior with VS Online, open an issue in Microsoft/vscode as well. |
Can you reference where this is upstream? As far as I can tell it is an issue of a malformed manifest.
My command to start it is: When I open the link the first thing is see is that the icon for Is the upstream bug in |
Interesting, since the start URL is "." and you visit /code, that
resolves to /code-server.png. If you visited /code/ (trailing slash), it
would resolve to /code/code-server.png.
I think what we'll need to do is inject the base path into the manifest
before serving it.
|
Might fix #1181, although not for the reasons I initially though (because the URLs are resolved from the manifest path, not the path of the current page). This should ensure that the URLs used by the manifest are always correct regardless of the manifest's path.
To make installing as a PWA possible. Fixes #1181.
code-server
version: 2.1692-vsc1.39.2Description
Code-server can be installed as desktop PWA in past version. But in current version, code-server can not be installed, the install icon in chrome address bar is missing. I found that there is no service worker in dev-tools/application.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: