Skip to content

Commit 95d021a

Browse files
authored
config: Use Microsoft.Windows.Settings module for enabling developer mode (#18886)
Using the Microsoft.Windows.Settings module is the now the recommended way of configuring Windows Settings, including developer mode.
1 parent 976a54d commit 95d021a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.config/configuration.vsEnterprise.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/terminal/blob/main/README.md#developer-guidance
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: powershell
1515
directives:

.config/configuration.vsProfessional.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/terminal/blob/main/README.md#developer-guidance
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: powershell
1515
directives:

.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/terminal/blob/main/README.md#developer-guidance
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: powershell
1515
directives:

0 commit comments

Comments
 (0)