mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
add policy admx/adml files
This commit is contained in:
parent
7ea39549f5
commit
8627bd2569
|
@ -112,7 +112,7 @@ module.exports.indentationFilter = [
|
|||
'!src/vs/*/**/*.d.ts',
|
||||
'!src/typings/**/*.d.ts',
|
||||
'!extensions/**/*.d.ts',
|
||||
'!**/*.{svg,exe,png,bmp,jpg,scpt,bat,cmd,cur,ttf,woff,eot,md,ps1,template,yaml,yml,d.ts.recipe,ico,icns,plist,opus}',
|
||||
'!**/*.{svg,exe,png,bmp,jpg,scpt,bat,cmd,cur,ttf,woff,eot,md,ps1,template,yaml,yml,d.ts.recipe,ico,icns,plist,opus,admx,adml}',
|
||||
'!build/{lib,download,linux,darwin}/**/*.js',
|
||||
'!build/**/*.sh',
|
||||
'!build/azure-pipelines/**/*.js',
|
||||
|
|
48
resources/policies/codeoss.admx
Normal file
48
resources/policies/codeoss.admx
Normal file
|
@ -0,0 +1,48 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<policyDefinitions revision="1.1" schemaVersion="1.0">
|
||||
<policyNamespaces>
|
||||
<target prefix="CodeOSS" namespace="Microsoft.Policies.CodeOSS" />
|
||||
</policyNamespaces>
|
||||
<resources minRequiredRevision="1.0" />
|
||||
<supportedOn>
|
||||
<definitions>
|
||||
<definition name="SUPPORTED_1_67" displayName="$(string.SUPPORTED_1_67)" />
|
||||
</definitions>
|
||||
</supportedOn>
|
||||
<categories>
|
||||
<category displayName="$(string.Application)" name="Application" />
|
||||
<category displayName="$(string.Update_group)" name="Update">
|
||||
<parentCategory ref="Application" />
|
||||
</category>
|
||||
</categories>
|
||||
<policies>
|
||||
<policy name="UpdateMode" class="Both" displayName="$(string.UpdateMode)" explainText="$(string.UpdateMode_Explain)" key="Software\Policies\Microsoft\CodeOSS" presentation="$(presentation.UpdateMode)">
|
||||
<parentCategory ref="Update" />
|
||||
<supportedOn ref="SUPPORTED_1_67" />
|
||||
<elements>
|
||||
<enum id="UpdateMode" valueName="UpdateMode">
|
||||
<item displayName="$(string.UpdateMode_None)">
|
||||
<value>
|
||||
<string>none</string>
|
||||
</value>
|
||||
</item>
|
||||
<item displayName="$(string.UpdateMode_Manual)">
|
||||
<value>
|
||||
<string>manual</string>
|
||||
</value>
|
||||
</item>
|
||||
<item displayName="$(string.UpdateMode_Start)">
|
||||
<value>
|
||||
<string>start</string>
|
||||
</value>
|
||||
</item>
|
||||
<item displayName="$(string.UpdateMode_Default)">
|
||||
<value>
|
||||
<string>default</string>
|
||||
</value>
|
||||
</item>
|
||||
</enum>
|
||||
</elements>
|
||||
</policy>
|
||||
</policies>
|
||||
</policyDefinitions>
|
23
resources/policies/en-US/codeoss.adml
Normal file
23
resources/policies/en-US/codeoss.adml
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<policyDefinitionResources revision="1.0" schemaVersion="1.0">
|
||||
<displayName />
|
||||
<description />
|
||||
<resources>
|
||||
<stringTable>
|
||||
<string id="SUPPORTED_1_67">Code - OSS 1.67 or later</string>
|
||||
<string id="Application">Code - OSS</string>
|
||||
<string id="Update_group">Update</string>
|
||||
<string id="UpdateMode">Update Mode</string>
|
||||
<string id="UpdateMode_Explain">Configure whether you receive automatic updates. Requires a restart after change. The updates are fetched from a Microsoft online service.</string>
|
||||
<string id="UpdateMode_None">Disable updates.</string>
|
||||
<string id="UpdateMode_Manual">Disable automatic background update checks. Updates will be available if you manually check for updates.</string>
|
||||
<string id="UpdateMode_Start">Check for updates only on startup. Disable automatic background update checks.</string>
|
||||
<string id="UpdateMode_Default">Enable automatic update checks. Code will check for updates automatically and periodically.</string>
|
||||
</stringTable>
|
||||
<presentationTable>
|
||||
<presentation id="UpdateMode">
|
||||
<dropdownList refId="UpdateMode" />
|
||||
</presentation>
|
||||
</presentationTable>
|
||||
</resources>
|
||||
</policyDefinitionResources>
|
Loading…
Reference in a new issue