Skip to content

Commit 68122fe

Browse files
authored
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)
1 parent 2a574d0 commit 68122fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.config/configuration.winget

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# Reference: https://github.com/microsoft/winget-cli#building-the-client
33
properties:
44
resources:
5-
- resource: Microsoft.Windows.Developer/DeveloperMode
5+
- resource: Microsoft.Windows.Settings/WindowsSettings
66
directives:
77
description: Enable Developer Mode
88
# Requires elevation for the set operation
99
securityContext: elevated
1010
allowPrerelease: true
1111
settings:
12-
Ensure: Present
12+
DeveloperMode: true
1313
- resource: Microsoft.WinGet.DSC/WinGetPackage
1414
id: vsPackage
1515
directives:

0 commit comments

Comments
 (0)