microsoft/TypeAgent

Public

mirrored fromhttps://github.com/microsoft/TypeAgentAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
dev/georgeng/autogen-cicd

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.devcontainer/scripts/install-electron-deps.sh

38lines · modecode

1#!/bin/bash
2# Copyright (c) Microsoft Corporation.
3# Licensed under the MIT License.
4
5#
6# Install Electron/GUI dependencies for VNC or WSLg environments
7#
8
9set -e
10
11echo "Installing Electron dependencies..."
12
13sudo apt-get update
14sudo apt-get install -y --no-install-recommends \
15 libgtk-3-0 \
16 libnotify4 \
17 libnss3 \
18 libxss1 \
19 libxtst6 \
20 xdg-utils \
21 libatspi2.0-0 \
22 libdrm2 \
23 libgbm1 \
24 libasound2 \
25 libsecret-1-0 \
26 fonts-liberation
27
28# Clean up
29sudo apt-get clean
30sudo rm -rf /var/lib/apt/lists/*
31
32echo "Electron dependencies installed."
33echo ""
34echo "For VNC access:"
35echo " - Open http://localhost:6080 in your browser"
36echo " - Password: typeagent"
37echo ""
38echo "Then run 'pnpm run shell' in the container terminal"
39