Skip to content

Commit cae6ce7

Browse files
committed
Use Microsoft.Windows.Settings module for enabling developer mode
1 parent 2a574d0 commit cae6ce7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.config/configuration.winget

Lines changed: 2 additions & 2 deletions
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)