Add missing PWA icon (#1060)

- Copy old icon back into repository
- Update path to icon from manifest file
- Add link metadata tag for iOS PWA icon to workbench.html
- Add link metadata tag for iOS PWA icon to login page
This commit is contained in:
Adam Vernon 2019-10-07 10:55:02 -07:00 committed by Asher
parent 4290cffe3b
commit e1e3f32643
4 changed files with 6 additions and 4 deletions

View File

@ -146,10 +146,10 @@ index 3ae24454cb..d637d02855 100644
// Do nothing. If we can't read the file we have no // Do nothing. If we can't read the file we have no
// language pack config. // language pack config.
diff --git a/src/vs/code/browser/workbench/workbench.html b/src/vs/code/browser/workbench/workbench.html diff --git a/src/vs/code/browser/workbench/workbench.html b/src/vs/code/browser/workbench/workbench.html
index 44f67f0a0b..00fc1deea8 100644 index 44f67f0a0b..50d29b1e87 100644
--- a/src/vs/code/browser/workbench/workbench.html --- a/src/vs/code/browser/workbench/workbench.html
+++ b/src/vs/code/browser/workbench/workbench.html +++ b/src/vs/code/browser/workbench/workbench.html
@@ -18,10 +18,11 @@ @@ -18,10 +18,12 @@
<!-- Workarounds/Hacks (remote user data uri) --> <!-- Workarounds/Hacks (remote user data uri) -->
<meta id="vscode-remote-user-data-uri" data-settings="{{REMOTE_USER_DATA_URI}}"> <meta id="vscode-remote-user-data-uri" data-settings="{{REMOTE_USER_DATA_URI}}">
@ -160,6 +160,7 @@ index 44f67f0a0b..00fc1deea8 100644
- <link rel="manifest" href="/manifest.json"> - <link rel="manifest" href="/manifest.json">
+ <link rel="icon" href="./favicon.ico" type="image/x-icon" /> + <link rel="icon" href="./favicon.ico" type="image/x-icon" />
+ <link rel="manifest" href="./manifest.json"> + <link rel="manifest" href="./manifest.json">
+ <link rel="apple-touch-icon" href="./static/out/vs/server/src/media/code-server.png" />
<link data-name="vs/workbench/workbench.web.api" rel="stylesheet" href="./static/out/vs/workbench/workbench.web.api.css"> <link data-name="vs/workbench/workbench.web.api" rel="stylesheet" href="./static/out/vs/workbench/workbench.web.api.css">
</head> </head>

View File

@ -6,6 +6,7 @@
<title>Authenticate: code-server</title> <title>Authenticate: code-server</title>
<link rel="icon" href="./favicon.ico" type="image/x-icon" /> <link rel="icon" href="./favicon.ico" type="image/x-icon" />
<link rel="manifest" href="./manifest.json"> <link rel="manifest" href="./manifest.json">
<link rel="apple-touch-icon" href="./static/out/vs/server/src/media/code-server.png" />
<link href="./static/out/vs/server/src/media/login.css" rel="stylesheet"> <link href="./static/out/vs/server/src/media/login.css" rel="stylesheet">
</head> </head>
<body> <body>

BIN
src/media/code-server.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@ -6,8 +6,8 @@
"background-color": "#fff", "background-color": "#fff",
"description": "Run VS Code on a remote server.", "description": "Run VS Code on a remote server.",
"icons": [{ "icons": [{
"src": "static/code-server.png", "src": "./static/out/vs/server/src/media/code-server.png",
"sizes": "128x128", "sizes": "384x384",
"type": "image/png" "type": "image/png"
}] }]
} }