mirror of
https://github.com/coder/code-server.git
synced 2024-12-04 23:03:06 +08:00
eae5d8c807
These conflicts will be resolved in the following commits. We do it this way so that PR review is possible.
15 lines
770 B
JavaScript
15 lines
770 B
JavaScript
"use strict";
|
|
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const path = require("path");
|
|
const retry_1 = require("./retry");
|
|
const { installBrowsersWithProgressBar } = require('playwright/lib/install/installer');
|
|
const playwrightPath = path.dirname(require.resolve('playwright'));
|
|
async function install() {
|
|
await retry_1.retry(() => installBrowsersWithProgressBar(playwrightPath));
|
|
}
|
|
install();
|