commit a107d473500c6b435639e55d681b5a1449f4b7df
parent 2f0ef1f20ba2d8524f80f006fcf600c156ececbc
Author: yao-msft <50888816+yao-msft@users.noreply.github.com>
Date: Tue, 9 Mar 2021 19:49:54 -0800
Relax preview manifest switches length restriction (#787)
Diffstat:
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/schemas/JSON/manifests/preview/manifest.0.1.0.json b/schemas/JSON/manifests/preview/manifest.0.1.0.json
@@ -51,49 +51,49 @@
"Custom": {
"type": [ "string", "null" ],
"minLength": 1,
- "maxLength": 1000,
+ "maxLength": 2048,
"description": "Custom switches will be passed directly to the installer by winget"
},
"Silent": {
"type": [ "string", "null" ],
"minLength": 1,
- "maxLength": 100,
+ "maxLength": 512,
"description": "Silent is the value that should be passed to the installer when user chooses a silent or quiet install"
},
"SilentWithProgress": {
"type": [ "string", "null" ],
"minLength": 1,
- "maxLength": 100,
+ "maxLength": 512,
"description": "SilentWithProgress is the value that should be passed to the installer when user chooses a non-interactive install"
},
"Interactive": {
"type": [ "string", "null" ],
"minLength": 1,
- "maxLength": 100,
+ "maxLength": 512,
"description": "Interactive is the value that should be passed to the installer when user chooses an interactive install"
},
"Language": {
"type": [ "string", "null" ],
"minLength": 1,
- "maxLength": 100,
+ "maxLength": 512,
"description": "Some installers include all localized resources. By specifying a Language switch, winget will pass the value of Language to the installer. This is not yet supported in Preview releases"
},
"Log": {
"type": [ "string", "null" ],
"minLength": 1,
- "maxLength": 100,
+ "maxLength": 512,
"description": "Log is the value passed to the installer for custom log file path. <LOGPATH> token can be included in the switch value so that winget will replace the token with user provided path"
},
"InstallLocation": {
"type": [ "string", "null" ],
"minLength": 1,
- "maxLength": 100,
+ "maxLength": 512,
"description": "InstallLocation is the value passed to the installer for custom install location. <INSTALLPATH> token can be included in the switch value so that winget will replace the token with user provided path"
},
"Update": {
"type": [ "string", "null" ],
"minLength": 1,
- "maxLength": 100,
+ "maxLength": 512,
"description": "Update is the value that should be passed to the installer when user chooses an upgrade"
}
}