Skip to content

Commit 0d29982

Browse files
authored
Use Microsoft.Windows.Settings module for enabling developer mode (#598)
1 parent 1e78f07 commit 0d29982

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-create#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
allowPrerelease: true
99
# Requires elevation for the set operation
1010
securityContext: elevated
1111
settings:
12-
Ensure: Present
12+
DeveloperMode: true
1313
- resource: Microsoft.WinGet.DSC/WinGetPackage
1414
id: vsPackage
1515
directives:

0 commit comments

Comments
 (0)