diff --git a/ci/build.ts b/ci/build.ts index ada4a2cbb..649bbe05e 100644 --- a/ci/build.ts +++ b/ci/build.ts @@ -353,7 +353,7 @@ class Builder { hmr: false, logLevel: 1, outDir: path.join(this.rootPath, out), - publicUrl: `/static-${commit || "development"}/dist`, + publicUrl: `/static/${commit || "development"}/dist`, target: "browser", }, ) diff --git a/ci/vscode.patch b/ci/vscode.patch index 82197588b..54a3a7595 100644 --- a/ci/vscode.patch +++ b/ci/vscode.patch @@ -2968,7 +2968,7 @@ index bbb72e9511..0785d3391d 100644 -registerSingleton(IExtensionStoragePaths, class extends NotImplementedProxy(IExtensionStoragePaths) { whenReady = Promise.resolve(); }); +registerSingleton(IExtensionStoragePaths, ExtensionStoragePaths); diff --git a/src/vs/workbench/services/extensions/worker/extensionHostWorkerMain.ts b/src/vs/workbench/services/extensions/worker/extensionHostWorkerMain.ts -index 79455414c0..5ba66b2d83 100644 +index 79455414c0..a407593b4d 100644 --- a/src/vs/workbench/services/extensions/worker/extensionHostWorkerMain.ts +++ b/src/vs/workbench/services/extensions/worker/extensionHostWorkerMain.ts @@ -14,7 +14,11 @@ @@ -2978,8 +2978,8 @@ index 79455414c0..5ba66b2d83 100644 - catchError: true + catchError: true, + paths: { -+ '@coder/node-browser': `../../static-{{COMMIT}}/node_modules/@coder/node-browser/out/client/client.js`, -+ '@coder/requirefs': `../../static-{{COMMIT}}/node_modules/@coder/requirefs/out/requirefs.js`, ++ '@coder/node-browser': `../node_modules/@coder/node-browser/out/client/client.js`, ++ '@coder/requirefs': `../node_modules/@coder/requirefs/out/requirefs.js`, + } }); diff --git a/src/browser/media/manifest.json b/src/browser/media/manifest.json index c0f5cf238..76ec15ceb 100644 --- a/src/browser/media/manifest.json +++ b/src/browser/media/manifest.json @@ -7,32 +7,32 @@ "description": "Run editors on a remote server.", "icons": [ { - "src": "{{BASE}}/static-{{COMMIT}}/src/browser/media/pwa-icon-96.png", + "src": "{{BASE}}/static/{{COMMIT}}/src/browser/media/pwa-icon-96.png", "type": "image/png", "sizes": "96x96" }, { - "src": "{{BASE}}/static-{{COMMIT}}/src/browser/media/pwa-icon-128.png", + "src": "{{BASE}}/static/{{COMMIT}}/src/browser/media/pwa-icon-128.png", "type": "image/png", "sizes": "128x128" }, { - "src": "{{BASE}}/static-{{COMMIT}}/src/browser/media/pwa-icon-192.png", + "src": "{{BASE}}/static/{{COMMIT}}/src/browser/media/pwa-icon-192.png", "type": "image/png", "sizes": "192x192" }, { - "src": "{{BASE}}/static-{{COMMIT}}/src/browser/media/pwa-icon-256.png", + "src": "{{BASE}}/static/{{COMMIT}}/src/browser/media/pwa-icon-256.png", "type": "image/png", "sizes": "256x256" }, { - "src": "{{BASE}}/static-{{COMMIT}}/src/browser/media/pwa-icon-384.png", + "src": "{{BASE}}/static/{{COMMIT}}/src/browser/media/pwa-icon-384.png", "type": "image/png", "sizes": "384x384" }, { - "src": "{{BASE}}/static-{{COMMIT}}/src/browser/media/pwa-icon-512.png", + "src": "{{BASE}}/static/{{COMMIT}}/src/browser/media/pwa-icon-512.png", "type": "image/png", "sizes": "512x512" } diff --git a/src/browser/pages/app.html b/src/browser/pages/app.html index 0e850eeea..616e303c9 100644 --- a/src/browser/pages/app.html +++ b/src/browser/pages/app.html @@ -8,18 +8,18 @@ />