From eb972adbf9f8565d101401419984b4b850242b35 Mon Sep 17 00:00:00 2001 From: "Daniel T. Lee" Date: Sun, 1 Oct 2023 21:56:32 +0900 Subject: [PATCH] Modify manifest for window control overlay support Since the release of code-server v4.17.0 (Code 1.82), "Command Center" has become a default option. However, the current code-server PWA app lacks support for the Windows control overlay, resulting in an untidy appearance of the title bar. This commit introduces modifications to the manifest file to enable support for the window control overlay. --- src/node/routes/vscode.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node/routes/vscode.ts b/src/node/routes/vscode.ts index 03cd9a4d73c4..b9ee2c13ba7b 100644 --- a/src/node/routes/vscode.ts +++ b/src/node/routes/vscode.ts @@ -55,6 +55,7 @@ export class CodeServerRouteWrapper { short_name: appName, start_url: ".", display: "fullscreen", + display_override: ["window-controls-overlay"], description: "Run Code on a remote server.", icons: [192, 512].map((size) => ({ src: `{{BASE}}/_static/src/browser/media/pwa-icon-${size}.png`,