From 95d021ac877283c91d32c4ab22537c7e354ecebc Mon Sep 17 00:00:00 2001 From: Muhammad Danish Date: Sat, 10 May 2025 04:13:18 +0500 Subject: [PATCH] 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. --- .config/configuration.vsEnterprise.winget | 4 ++-- .config/configuration.vsProfessional.winget | 4 ++-- .config/configuration.winget | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.config/configuration.vsEnterprise.winget b/.config/configuration.vsEnterprise.winget index cf7f657d11..589244063d 100644 --- a/.config/configuration.vsEnterprise.winget +++ b/.config/configuration.vsEnterprise.winget @@ -2,14 +2,14 @@ # Reference: https://github.com/microsoft/terminal/blob/main/README.md#developer-guidance properties: resources: - - resource: Microsoft.Windows.Developer/DeveloperMode + - resource: Microsoft.Windows.Settings/WindowsSettings directives: description: Enable Developer Mode allowPrerelease: true # Requires elevation for the set operation securityContext: elevated settings: - Ensure: Present + DeveloperMode: true - resource: Microsoft.WinGet.DSC/WinGetPackage id: powershell directives: diff --git a/.config/configuration.vsProfessional.winget b/.config/configuration.vsProfessional.winget index d0b7508f36..549b6227bb 100644 --- a/.config/configuration.vsProfessional.winget +++ b/.config/configuration.vsProfessional.winget @@ -2,14 +2,14 @@ # Reference: https://github.com/microsoft/terminal/blob/main/README.md#developer-guidance properties: resources: - - resource: Microsoft.Windows.Developer/DeveloperMode + - resource: Microsoft.Windows.Settings/WindowsSettings directives: description: Enable Developer Mode allowPrerelease: true # Requires elevation for the set operation securityContext: elevated settings: - Ensure: Present + DeveloperMode: true - resource: Microsoft.WinGet.DSC/WinGetPackage id: powershell directives: diff --git a/.config/configuration.winget b/.config/configuration.winget index 1dcd7cf829..5d7823a002 100644 --- a/.config/configuration.winget +++ b/.config/configuration.winget @@ -2,14 +2,14 @@ # Reference: https://github.com/microsoft/terminal/blob/main/README.md#developer-guidance properties: resources: - - resource: Microsoft.Windows.Developer/DeveloperMode + - resource: Microsoft.Windows.Settings/WindowsSettings directives: description: Enable Developer Mode allowPrerelease: true # Requires elevation for the set operation securityContext: elevated settings: - Ensure: Present + DeveloperMode: true - resource: Microsoft.WinGet.DSC/WinGetPackage id: powershell directives: