代码拉取完成,页面将自动刷新
env_add_path
and env_set
(#3503)
{
"$id": "http://scoop.sh/draft/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"hashPattern": {
"pattern": "^([a-fA-F0-9]{64}|(sha1|sha256|sha512|md5):([a-fA-F0-9]{32}|[a-fA-F0-9]{40}|[a-fA-F0-9]{64}|[a-fA-F0-9]{128}))$",
"type": "string"
},
"hash": {
"anyOf": [
{
"$ref": "#/definitions/hashPattern"
},
{
"items": {
"$ref": "#/definitions/hashPattern"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
}
]
},
"hashExtraction": {
"additionalProperties": false,
"properties": {
"find": {
"format": "regex",
"type": "string",
"description": "Same as 'regex'"
},
"regex": {
"format": "regex",
"type": "string"
},
"jp": {
"pattern": "^\\$[.[].*$",
"type": "string",
"description": "Same as 'jsonpath'"
},
"jsonpath": {
"pattern": "^\\$[.[].*$",
"type": "string"
},
"xpath": {
"type": "string"
},
"mode": {
"enum": [
"download",
"extract",
"json",
"xpath",
"rdf",
"metalink",
"fosshub",
"sourceforge"
]
},
"type": {
"enum": [
"md5",
"sha1",
"sha256",
"sha512"
],
"description": "Deprecated, hash type is determined automatically"
},
"url": {
"anyOf": [
{
"format": "uri",
"type": "string"
},
{
"pattern": "^(\\$url|\\$baseurl).[\\w\\d]+$",
"type": "string"
},
{
"pattern": "^.*(\\$url|\\$baseurl).*$",
"type": "string"
}
]
}
},
"type": "object"
},
"architecture": {
"additionalProperties": false,
"properties": {
"bin": {
"$ref": "#/definitions/stringOrArrayOfStringsOrAnArrayOfArrayOfStrings"
},
"checkver": {
"$ref": "#/definitions/checkver"
},
"env_add_path": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"env_set": {
"type": "object"
},
"extract_dir": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"hash": {
"$ref": "#/definitions/hash"
},
"installer": {
"$ref": "#/definitions/installer"
},
"msi": {
"$ref": "#/definitions/stringOrArrayOfStrings",
"description": "Deprecated"
},
"post_install": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"pre_install": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"shortcuts": {
"$ref": "#/definitions/shortcutsArray"
},
"uninstaller": {
"$ref": "#/definitions/uninstaller"
},
"url": {
"$ref": "#/definitions/uriOrArrayOfUris"
}
},
"type": "object"
},
"arrayOfArrayOfStrings": {
"items": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"minItems": 1,
"type": "array"
},
"shortcutsArray": {
"items": {
"items": {
"type": "string"
},
"minItems": 2,
"maxItems": 4,
"type": "array"
},
"minItems": 1,
"type": "array"
},
"autoupdate": {
"additionalProperties": false,
"properties": {
"architecture": {
"additionalProperties": false,
"properties": {
"32bit": {
"additionalProperties": false,
"properties": {
"extract_dir": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
},
"hash": {
"$ref": "#/definitions/hashExtraction"
}
},
"type": "object"
},
"64bit": {
"additionalProperties": false,
"properties": {
"extract_dir": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
},
"hash": {
"$ref": "#/definitions/hashExtraction"
}
},
"type": "object"
}
},
"type": "object"
},
"extract_dir": {
"type": "string"
},
"hash": {
"$ref": "#/definitions/hashExtraction"
},
"note": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"url": {
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"checkver": {
"anyOf": [
{
"format": "regex",
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"github": {
"format": "uri",
"type": "string"
},
"re": {
"format": "regex",
"type": "string",
"description": "Same as 'regex'"
},
"regex": {
"format": "regex",
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
},
"jp": {
"pattern": "^\\$[.[].*$",
"type": "string",
"description": "Same as 'jsonpath'"
},
"jsonpath": {
"pattern": "^\\$[.[].*$",
"type": "string"
},
"xpath": {
"type": "string"
},
"reverse": {
"description": "Reverse the order of regex matches",
"type": "boolean"
},
"replace": {
"description": "Allows rearrange the regexp matches",
"type": "string"
},
"useragent": {
"type": "string"
}
},
"type": "object"
}
]
},
"installer": {
"additionalProperties": false,
"properties": {
"_comment": {
"description": "Undocumented: only used in scoop-extras/oraclejdk* and scoop-extras/appengine-go",
"type": "string"
},
"args": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"file": {
"type": "string"
},
"script": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"keep": {
"type": "boolean"
}
},
"type": "object"
},
"stringOrArrayOfStrings": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
]
},
"stringOrArrayOfStringsOrAnArrayOfArrayOfStrings": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"minItems": 1,
"type": "array"
}
]
},
"uninstaller": {
"properties": {
"args": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"file": {
"type": "string"
},
"script": {
"$ref": "#/definitions/stringOrArrayOfStrings"
}
},
"oneOf": [
{
"required": [
"file"
]
},
{
"required": [
"script"
]
}
],
"type": "object"
},
"uriOrArrayOfUris": {
"anyOf": [
{
"format": "uri",
"not": {
"pattern": "(\\$)"
},
"type": "string"
},
{
"items": {
"format": "uri",
"not": {
"pattern": "(\\$)"
},
"type": "string"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
}
]
},
"licenseIdentifiers": {
"type": "string",
"description": "License identifier based on SPDX License List https://spdx.org/licenses/",
"examples": [
"Apache-2.0",
"BSD-3-Clause",
"Freeware",
"GPL-2.0-only",
"GPL-2.0-or-later",
"GPL-3.0-only",
"GPL-3.0-or-later",
"ISC",
"LGPL-2.0-only",
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"LGPL-2.1-or-later",
"LGPL-3.0-only",
"LGPL-3.0-or-later",
"MIT",
"MS-PL",
"Proprietary",
"Public Domain",
"Shareware",
"Unlicense"
]
}
},
"properties": {
"_comment": {
"description": "Deprecated. Use ## instead.",
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"##": {
"description": "A comment.",
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"architecture": {
"additionalProperties": false,
"properties": {
"32bit": {
"$ref": "#/definitions/architecture"
},
"64bit": {
"$ref": "#/definitions/architecture"
}
},
"type": "object"
},
"autoupdate": {
"$ref": "#/definitions/autoupdate"
},
"bin": {
"$ref": "#/definitions/stringOrArrayOfStringsOrAnArrayOfArrayOfStrings"
},
"persist": {
"$ref": "#/definitions/stringOrArrayOfStringsOrAnArrayOfArrayOfStrings"
},
"checkver": {
"$ref": "#/definitions/checkver"
},
"cookie": {
"description": "Undocumented: Found at https://github.com/se35710/scoop-java/search?l=JSON&q=cookie",
"type": "object"
},
"depends": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"description": {
"type": "string"
},
"env_add_path": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"env_set": {
"type": "object"
},
"extract_dir": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"extract_to": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"hash": {
"$ref": "#/definitions/hash"
},
"homepage": {
"format": "uri",
"type": "string"
},
"innosetup": {
"description": "True if the installer InnoSetup based. Found in https://github.com/lukesampson/scoop/search?l=JSON&q=innosetup",
"type": "boolean"
},
"installer": {
"$ref": "#/definitions/installer"
},
"license": {
"anyOf": [
{
"$ref": "#/definitions/licenseIdentifiers"
},
{
"additionalProperties": false,
"properties": {
"url": {
"format": "uri",
"type": "string"
},
"identifier": {
"$ref": "#/definitions/licenseIdentifiers"
}
},
"required": [
"identifier"
],
"type": "object"
}
]
},
"msi": {
"$ref": "#/definitions/stringOrArrayOfStrings",
"description": "Deprecated"
},
"notes": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"post_install": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"pre_install": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"psmodule": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
},
"shortcuts": {
"$ref": "#/definitions/shortcutsArray"
},
"suggest": {
"additionalProperties": false,
"patternProperties": {
"^(.*)$": {
"$ref": "#/definitions/stringOrArrayOfStrings"
}
},
"type": "object"
},
"uninstaller": {
"$ref": "#/definitions/uninstaller"
},
"url": {
"$ref": "#/definitions/uriOrArrayOfUris"
},
"version": {
"pattern": "^[\\w\\.\\-_]+$",
"type": "string"
}
},
"required": [
"version"
],
"title": "scoop app manifest schema",
"type": "object"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。