From 897e0ae1dac0d1ef92335265ac55c2ba84178439 Mon Sep 17 00:00:00 2001 From: "Daniel T. Lee" Date: Tue, 3 Oct 2023 03:03:37 +0900 Subject: [PATCH] Modify manifest for window control overlay support (#6468) 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 03cd9a4d7..b9ee2c13b 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`,