mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-10 18:43:54 -06:00
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.
This commit is contained in:
parent
976a54d87c
commit
95d021ac87
@ -2,14 +2,14 @@
|
|||||||
# Reference: https://github.com/microsoft/terminal/blob/main/README.md#developer-guidance
|
# Reference: https://github.com/microsoft/terminal/blob/main/README.md#developer-guidance
|
||||||
properties:
|
properties:
|
||||||
resources:
|
resources:
|
||||||
- resource: Microsoft.Windows.Developer/DeveloperMode
|
- resource: Microsoft.Windows.Settings/WindowsSettings
|
||||||
directives:
|
directives:
|
||||||
description: Enable Developer Mode
|
description: Enable Developer Mode
|
||||||
allowPrerelease: true
|
allowPrerelease: true
|
||||||
# Requires elevation for the set operation
|
# Requires elevation for the set operation
|
||||||
securityContext: elevated
|
securityContext: elevated
|
||||||
settings:
|
settings:
|
||||||
Ensure: Present
|
DeveloperMode: true
|
||||||
- resource: Microsoft.WinGet.DSC/WinGetPackage
|
- resource: Microsoft.WinGet.DSC/WinGetPackage
|
||||||
id: powershell
|
id: powershell
|
||||||
directives:
|
directives:
|
||||||
|
|||||||
@ -2,14 +2,14 @@
|
|||||||
# Reference: https://github.com/microsoft/terminal/blob/main/README.md#developer-guidance
|
# Reference: https://github.com/microsoft/terminal/blob/main/README.md#developer-guidance
|
||||||
properties:
|
properties:
|
||||||
resources:
|
resources:
|
||||||
- resource: Microsoft.Windows.Developer/DeveloperMode
|
- resource: Microsoft.Windows.Settings/WindowsSettings
|
||||||
directives:
|
directives:
|
||||||
description: Enable Developer Mode
|
description: Enable Developer Mode
|
||||||
allowPrerelease: true
|
allowPrerelease: true
|
||||||
# Requires elevation for the set operation
|
# Requires elevation for the set operation
|
||||||
securityContext: elevated
|
securityContext: elevated
|
||||||
settings:
|
settings:
|
||||||
Ensure: Present
|
DeveloperMode: true
|
||||||
- resource: Microsoft.WinGet.DSC/WinGetPackage
|
- resource: Microsoft.WinGet.DSC/WinGetPackage
|
||||||
id: powershell
|
id: powershell
|
||||||
directives:
|
directives:
|
||||||
|
|||||||
@ -2,14 +2,14 @@
|
|||||||
# Reference: https://github.com/microsoft/terminal/blob/main/README.md#developer-guidance
|
# Reference: https://github.com/microsoft/terminal/blob/main/README.md#developer-guidance
|
||||||
properties:
|
properties:
|
||||||
resources:
|
resources:
|
||||||
- resource: Microsoft.Windows.Developer/DeveloperMode
|
- resource: Microsoft.Windows.Settings/WindowsSettings
|
||||||
directives:
|
directives:
|
||||||
description: Enable Developer Mode
|
description: Enable Developer Mode
|
||||||
allowPrerelease: true
|
allowPrerelease: true
|
||||||
# Requires elevation for the set operation
|
# Requires elevation for the set operation
|
||||||
securityContext: elevated
|
securityContext: elevated
|
||||||
settings:
|
settings:
|
||||||
Ensure: Present
|
DeveloperMode: true
|
||||||
- resource: Microsoft.WinGet.DSC/WinGetPackage
|
- resource: Microsoft.WinGet.DSC/WinGetPackage
|
||||||
id: powershell
|
id: powershell
|
||||||
directives:
|
directives:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user