winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d6a043bd866d07e1f043314188e585024c654224
parent 8cb0de07d171bec2022f624392fc125a4c071cc3
Author: Demitrius Nelon <denelon@microsoft.com>
Date:   Fri, 26 May 2023 14:51:41 -0700

Add WinGet configuration (#3277)

* Add WinGet configuration

Added .configurations/configuration.dsc.yaml

Update README.md

* Update expect.txt
Diffstat:
A.configurations/configuration.dsc.yaml | 30++++++++++++++++++++++++++++++
M.github/actions/spelling/expect.txt | 1+
MREADME.md | 5+++++
3 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/.configurations/configuration.dsc.yaml b/.configurations/configuration.dsc.yaml @@ -0,0 +1,29 @@ +# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 +# Reference: https://github.com/microsoft/winget-cli-restsource#building-the-client +properties: + resources: + - resource: Microsoft.Windows.Developer/DeveloperMode + directives: + description: Enable Developer Mode + allowPrerelease: true + settings: + Ensure: Present + - resource: Microsoft.WinGet.DSC/WinGetPackage + id: vsPackage + directives: + description: Install Visual Studio 2022 (any edition is OK) + allowPrerelease: true + settings: + id: Microsoft.VisualStudio.2022.Community + source: winget + - resource: Microsoft.VisualStudio.DSC/VSComponents + dependsOn: + - vsPackage + directives: + description: Install required VS workloads from project .vsconfig file + allowPrerelease: true + settings: + productId: Microsoft.VisualStudio.Product.Community + channelId: VisualStudio.17.Release + vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig' + configurationVersion: 0.2.0+ \ No newline at end of file diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt @@ -91,6 +91,7 @@ debian deigh deleteifnotneeded desktopappinstaller +devhome dic diskfull dismapi diff --git a/README.md b/README.md @@ -79,6 +79,11 @@ The client is built around the concept of sources; a set of packages effectively ## Building the client +1. Clone the repository +2. Configure your system, please use the [configuration file](.configurations/configuration.dsc.yaml). This can be applied by either: + * [Dev Home](https://github.com/microsoft/devhome)'s machine configuration tool + * WinGet configuration. If you have the experimental feature enabled, run `winget configure .configurations/configuration.dsc.yaml` from the project root so relative paths resolve correctly + ### Prerequisites * Windows 10 1809 (17763) or later