commit 68122fe8b9b3be9b40928cf35f76ff9a113464ce
parent 2a574d0b4d1b75a6ed35eabce57ae75bb30470ef
Author: Muhammad Danish <mdanishkhdev@gmail.com>
Date: Sat, 10 May 2025 02:15:35 +0500
Use Microsoft.Windows.Settings module for enabling developer mode (#5448)
<!-- To check a checkbox place an "x" between the brackets. e.g: [x] -->
- [x] I have signed the [Contributor License
Agreement](https://cla.opensource.microsoft.com/microsoft/winget-pkgs).
- [ ] This pull request is related to an issue.
-----
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/5448)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.config/configuration.winget b/.config/configuration.winget
@@ -2,14 +2,14 @@
# Reference: https://github.com/microsoft/winget-cli#building-the-client
properties:
resources:
- - resource: Microsoft.Windows.Developer/DeveloperMode
+ - resource: Microsoft.Windows.Settings/WindowsSettings
directives:
description: Enable Developer Mode
# Requires elevation for the set operation
securityContext: elevated
allowPrerelease: true
settings:
- Ensure: Present
+ DeveloperMode: true
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: vsPackage
directives: