Compare commits
2 Commits
49f13cb5a0
...
e29ce85c26
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e29ce85c26 | ||
|
|
bb3da09c0c |
5437
win/NOTICE.txt
5437
win/NOTICE.txt
File diff suppressed because it is too large
Load Diff
BIN
win/ark_disasm.exe
Normal file → Executable file
BIN
win/ark_disasm.exe
Normal file → Executable file
Binary file not shown.
0
win/configcheck/configSchema_rich.json
Normal file → Executable file
0
win/configcheck/configSchema_rich.json
Normal file → Executable file
BIN
win/diff.exe
Normal file → Executable file
BIN
win/diff.exe
Normal file → Executable file
Binary file not shown.
BIN
win/glslang_validator.exe
Normal file → Executable file
BIN
win/glslang_validator.exe
Normal file → Executable file
Binary file not shown.
BIN
win/hdc.exe
Normal file → Executable file
BIN
win/hdc.exe
Normal file → Executable file
Binary file not shown.
BIN
win/hnpcli.exe
Normal file → Executable file
BIN
win/hnpcli.exe
Normal file → Executable file
Binary file not shown.
7380
win/id_defined.json
7380
win/id_defined.json
File diff suppressed because it is too large
Load Diff
BIN
win/idl.exe
Normal file → Executable file
BIN
win/idl.exe
Normal file → Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
win/libusb_shared.dll
Normal file → Executable file
BIN
win/libusb_shared.dll
Normal file → Executable file
Binary file not shown.
@ -125,12 +125,14 @@
|
|||||||
"2in1",
|
"2in1",
|
||||||
"GWPAsanEnabled",
|
"GWPAsanEnabled",
|
||||||
"tsanEnabled",
|
"tsanEnabled",
|
||||||
|
"ubsanEnabled",
|
||||||
"appEnvironments",
|
"appEnvironments",
|
||||||
"maxChildProcess",
|
"maxChildProcess",
|
||||||
"multiAppMode",
|
"multiAppMode",
|
||||||
"hwasanEnabled",
|
"hwasanEnabled",
|
||||||
"cloudFileSyncEnabled",
|
"cloudFileSyncEnabled",
|
||||||
"configuration"
|
"configuration",
|
||||||
|
"assetAccessGroups"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -170,11 +172,13 @@
|
|||||||
"2in1",
|
"2in1",
|
||||||
"GWPAsanEnabled",
|
"GWPAsanEnabled",
|
||||||
"tsanEnabled",
|
"tsanEnabled",
|
||||||
|
"ubsanEnabled",
|
||||||
"appEnvironments",
|
"appEnvironments",
|
||||||
"maxChildProcess",
|
"maxChildProcess",
|
||||||
"hwasanEnabled",
|
"hwasanEnabled",
|
||||||
"cloudFileSyncEnabled",
|
"cloudFileSyncEnabled",
|
||||||
"configuration"
|
"configuration",
|
||||||
|
"assetAccessGroups"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -188,12 +192,13 @@
|
|||||||
},
|
},
|
||||||
"bundleType": {
|
"bundleType": {
|
||||||
"description": "Indicates the type of bundle",
|
"description": "Indicates the type of bundle",
|
||||||
"type":"string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
"app",
|
"app",
|
||||||
"atomicService",
|
"atomicService",
|
||||||
"shared",
|
"shared",
|
||||||
"appService"
|
"appService",
|
||||||
|
"appPlugin"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"debug": {
|
"debug": {
|
||||||
@ -205,7 +210,7 @@
|
|||||||
"description": "Indicates the label of the application.",
|
"description": "Indicates the label of the application.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"maxLength": 63,
|
"maxLength": 63,
|
||||||
"pattern": "^[$]string:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$"
|
"pattern": "^[$]string:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$"
|
||||||
},
|
},
|
||||||
"icon": {
|
"icon": {
|
||||||
"description": "Indicates the index to the application icon file, in the format of \"$media:application_icon\".This label can be left blank by default.",
|
"description": "Indicates the index to the application icon file, in the format of \"$media:application_icon\".This label can be left blank by default.",
|
||||||
@ -368,6 +373,11 @@
|
|||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false
|
||||||
},
|
},
|
||||||
|
"ubsanEnabled": {
|
||||||
|
"description": "Indicates whether to support ubsan.",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
"appEnvironments": {
|
"appEnvironments": {
|
||||||
"description": "Indicates the environment value of app.",
|
"description": "Indicates the environment value of app.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -454,7 +464,7 @@
|
|||||||
"description": "Indicates whether to support hwasan.",
|
"description": "Indicates whether to support hwasan.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false
|
||||||
},
|
},
|
||||||
"cloudFileSyncEnabled": {
|
"cloudFileSyncEnabled": {
|
||||||
"description": "Indicates whether the application enables cloud file sync.",
|
"description": "Indicates whether the application enables cloud file sync.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@ -465,9 +475,20 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"pattern": "^[$]profile:[0-9a-zA-Z_.]+$",
|
"pattern": "^[$]profile:[0-9a-zA-Z_.]+$",
|
||||||
"maxLength": 255
|
"maxLength": 255
|
||||||
|
},
|
||||||
|
"assetAccessGroups": {
|
||||||
|
"description": "Indicates the asset access groups of the application.",
|
||||||
|
"type": "array",
|
||||||
|
"maxItems": 512,
|
||||||
|
"uniqueItems": true,
|
||||||
|
"items": {
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 127,
|
||||||
|
"minLength": 7,
|
||||||
|
"pattern": "^[a-zA-Z][0-9a-zA-Z_.]+$"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -4,13 +4,13 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [
|
"required": [
|
||||||
"startupTasks",
|
|
||||||
"configEntry"
|
"configEntry"
|
||||||
],
|
],
|
||||||
"propertyNames": {
|
"propertyNames": {
|
||||||
"enum": [
|
"enum": [
|
||||||
"startupTasks",
|
"startupTasks",
|
||||||
"configEntry"
|
"configEntry",
|
||||||
|
"appPreloadHintStartupTasks"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -80,6 +80,61 @@
|
|||||||
"description": "Indicates the js code path corresponding to the startup config.",
|
"description": "Indicates the js code path corresponding to the startup config.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"maxLength": 127
|
"maxLength": 127
|
||||||
|
},
|
||||||
|
"appPreloadHintStartupTasks": {
|
||||||
|
"type": "array",
|
||||||
|
"uniqueItems": true,
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"propertyNames": {
|
||||||
|
"enum": [
|
||||||
|
"name",
|
||||||
|
"srcEntry",
|
||||||
|
"dependencies",
|
||||||
|
"excludeFromAutoStart",
|
||||||
|
"runOnThread"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"name",
|
||||||
|
"srcEntry",
|
||||||
|
"runOnThread"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"name": {
|
||||||
|
"description": "Indicates the name of the preload task.",
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^[a-zA-Z][0-9a-zA-Z_.]+$",
|
||||||
|
"maxLength": 127
|
||||||
|
},
|
||||||
|
"srcEntry": {
|
||||||
|
"description": "Indicates the js code path corresponding to the preload task.",
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 127
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"description": "Indicates the dependencies of the preload task.",
|
||||||
|
"type": "array",
|
||||||
|
"uniqueItems": true,
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"default": []
|
||||||
|
},
|
||||||
|
"excludeFromAutoStart": {
|
||||||
|
"description": "Indicates whether the preload task is excluded from automatic start.",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
"runOnThread": {
|
||||||
|
"description": "Indicates the running thread, preload task runs only on child thread.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"taskPool"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
137
win/modulecheck/appStartupInner.json
Normal file
137
win/modulecheck/appStartupInner.json
Normal file
@ -0,0 +1,137 @@
|
|||||||
|
{
|
||||||
|
"title": "JSON schema for appStartup_inner.json",
|
||||||
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"propertyNames": {
|
||||||
|
"enum": [
|
||||||
|
"startupTasks",
|
||||||
|
"appPreloadHintStartupTasks"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"startupTasks": {
|
||||||
|
"type": "array",
|
||||||
|
"uniqueItems": true,
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"propertyNames": {
|
||||||
|
"enum": [
|
||||||
|
"name",
|
||||||
|
"srcEntry",
|
||||||
|
"dependencies",
|
||||||
|
"excludeFromAutoStart",
|
||||||
|
"runOnThread",
|
||||||
|
"waitOnMainThread"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"name",
|
||||||
|
"srcEntry",
|
||||||
|
"excludeFromAutoStart"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"name": {
|
||||||
|
"description": "Indicates the name of the har/hsp startup task.",
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^[a-zA-Z][0-9a-zA-Z_.]+$",
|
||||||
|
"maxLength": 127
|
||||||
|
},
|
||||||
|
"srcEntry": {
|
||||||
|
"description": "Indicates the js code path corresponding to the har/hsp startup task.",
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 127
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"description": "Indicates the dependencies of the har/hsp startup task.",
|
||||||
|
"type": "array",
|
||||||
|
"uniqueItems": true,
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"default": []
|
||||||
|
},
|
||||||
|
"excludeFromAutoStart": {
|
||||||
|
"description": "Har/hsp startup task does not support automatic start, excludeFromAutoStart can only be set to true.",
|
||||||
|
"type": "boolean",
|
||||||
|
"enum": [
|
||||||
|
true
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"runOnThread": {
|
||||||
|
"description": "Indicates the running thread of the har/hsp startup task.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"mainThread",
|
||||||
|
"taskPool"
|
||||||
|
],
|
||||||
|
"default": "mainThread"
|
||||||
|
},
|
||||||
|
"waitOnMainThread": {
|
||||||
|
"description": "Indicates whether the har/hsp startup task block the main thread.",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"appPreloadHintStartupTasks": {
|
||||||
|
"type": "array",
|
||||||
|
"uniqueItems": true,
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"propertyNames": {
|
||||||
|
"enum": [
|
||||||
|
"name",
|
||||||
|
"srcEntry",
|
||||||
|
"dependencies",
|
||||||
|
"excludeFromAutoStart",
|
||||||
|
"runOnThread"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"name",
|
||||||
|
"srcEntry",
|
||||||
|
"excludeFromAutoStart",
|
||||||
|
"runOnThread"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"name": {
|
||||||
|
"description": "Indicates the name of the har/hsp preload task.",
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^[a-zA-Z][0-9a-zA-Z_.]+$",
|
||||||
|
"maxLength": 127
|
||||||
|
},
|
||||||
|
"srcEntry": {
|
||||||
|
"description": "Indicates the js code path corresponding to the har/hsp preload task.",
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 127
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"description": "Indicates the dependencies of the har/hsp preload task.",
|
||||||
|
"type": "array",
|
||||||
|
"uniqueItems": true,
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"default": []
|
||||||
|
},
|
||||||
|
"excludeFromAutoStart": {
|
||||||
|
"description": "Har/hsp preload task does not support automatic start, excludeFromAutoStart can only be set to true.",
|
||||||
|
"type": "boolean",
|
||||||
|
"enum": [
|
||||||
|
true
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"runOnThread": {
|
||||||
|
"description": "Indicates the running thread, preload task runs only on child thread.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"taskPool"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -26,7 +26,8 @@
|
|||||||
"name",
|
"name",
|
||||||
"permission",
|
"permission",
|
||||||
"types",
|
"types",
|
||||||
"events"
|
"events",
|
||||||
|
"filter"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -55,6 +56,57 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"filter": {
|
||||||
|
"description": "This tag identifies the custom filter criteria that can be accepted.",
|
||||||
|
"type": "array",
|
||||||
|
"uniqueItems": true,
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"event",
|
||||||
|
"conditions"
|
||||||
|
],
|
||||||
|
"propertyNames": {
|
||||||
|
"enum": [
|
||||||
|
"event",
|
||||||
|
"conditions"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"event": {
|
||||||
|
"description": "This tag identifies the event value that can be filtered.",
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 64
|
||||||
|
},
|
||||||
|
"conditions": {
|
||||||
|
"description": "This tag identifies the conditions under which events can be filtered.",
|
||||||
|
"type": "object",
|
||||||
|
"propertyNames": {
|
||||||
|
"enum": [
|
||||||
|
"code",
|
||||||
|
"data",
|
||||||
|
"parameters"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"code": {
|
||||||
|
"description": "This label represents the code that needs to be filtered.",
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"data": {
|
||||||
|
"description": "This label represents the data that needs to be filtered.",
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 128
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"description": "This label represents the parameters that needs to be filtered.",
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,13 +34,18 @@
|
|||||||
"isDefault",
|
"isDefault",
|
||||||
"updateEnabled",
|
"updateEnabled",
|
||||||
"scheduledUpdateTime",
|
"scheduledUpdateTime",
|
||||||
|
"multiScheduledUpdateTime",
|
||||||
"updateDuration",
|
"updateDuration",
|
||||||
"defaultDimension",
|
"defaultDimension",
|
||||||
"supportDimensions",
|
"supportDimensions",
|
||||||
"dataProxyEnabled",
|
"dataProxyEnabled",
|
||||||
"metadata",
|
"metadata",
|
||||||
|
"conditionUpdate",
|
||||||
"fontScaleFollowSystem",
|
"fontScaleFollowSystem",
|
||||||
"supportShapes"
|
"supportShapes",
|
||||||
|
"previewImages",
|
||||||
|
"renderingMode",
|
||||||
|
"enableBlurBackground"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@ -109,7 +114,7 @@
|
|||||||
"default": "auto"
|
"default": "auto"
|
||||||
},
|
},
|
||||||
"supportDimensions": {
|
"supportDimensions": {
|
||||||
"description": "This label identifies the card appearance specification. The value is \"1*2\", \" 2*2\", \"2*4\", \"4*4\", \"1*1\", \"6*4\" and cannot be default. At least one card specification must be specified when defining a card.",
|
"description": "This label identifies the card appearance specification. The value is \"1*2\", \" 2*2\", \"2*4\", \"4*4\", \"1*1\", \"6*4\", \"2*3\", \"3*3\" and cannot be default. \"2*3\", \"3*3\" used for wearable devices and \"3*4\" used for tv devices. At least one card specification must be specified when defining a card.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"uniqueItems": true,
|
"uniqueItems": true,
|
||||||
"items": {
|
"items": {
|
||||||
@ -120,12 +125,15 @@
|
|||||||
"2*4",
|
"2*4",
|
||||||
"4*4",
|
"4*4",
|
||||||
"1*1",
|
"1*1",
|
||||||
"6*4"
|
"6*4",
|
||||||
|
"2*3",
|
||||||
|
"3*3",
|
||||||
|
"3*4"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"defaultDimension": {
|
"defaultDimension": {
|
||||||
"description": "This label identifies the default appearance specifications of the card.",
|
"description": "This label identifies the default appearance specifications of the card. \"2*3\", \"3*3\" used for wearable devices and \"3*4\" used for tv devices.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"uniqueItems": true,
|
"uniqueItems": true,
|
||||||
"enum": [
|
"enum": [
|
||||||
@ -134,7 +142,10 @@
|
|||||||
"2*4",
|
"2*4",
|
||||||
"4*4",
|
"4*4",
|
||||||
"1*1",
|
"1*1",
|
||||||
"6*4"
|
"6*4",
|
||||||
|
"2*3",
|
||||||
|
"3*3",
|
||||||
|
"3*4"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"updateEnabled": {
|
"updateEnabled": {
|
||||||
@ -146,6 +157,12 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"pattern": "^(([0-1][0-9])|([2][0-3]))[:]+([0-5][0-9])$"
|
"pattern": "^(([0-1][0-9])|([2][0-3]))[:]+([0-5][0-9])$"
|
||||||
},
|
},
|
||||||
|
"multiScheduledUpdateTime": {
|
||||||
|
"description": "Indicates the time when a card is refreshed at a fixed time. The value is counted in 24 hours, accurate to minute. This tag can be set to the default value.",
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 145,
|
||||||
|
"pattern": "^(?:([01][0-9]|2[0-3]):([0-5][0-9]))(?:,(?:([01][0-9]|2[0-3]):([0-5][0-9])))*$"
|
||||||
|
},
|
||||||
"updateDuration": {
|
"updateDuration": {
|
||||||
"description": "This tag identifies the update frequency of the card. The unit is 30 minutes. The value is a multiple of 30. The maximum frequency of a card is refreshed every 30 minutes. You can select either refresh or refresh at a fixed point. If both are configured, the card is refreshed at a scheduled time. This label is an integer.",
|
"description": "This tag identifies the update frequency of the card. The unit is 30 minutes. The value is a multiple of 30. The maximum frequency of a card is refreshed every 30 minutes. You can select either refresh or refresh at a fixed point. If both are configured, the card is refreshed at a scheduled time. This label is an integer.",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
@ -188,6 +205,26 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"conditionUpdate": {
|
||||||
|
"description": "This label identifies the card update by condition.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"network"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"renderingMode": {
|
||||||
|
"description": "Indicates the renderingMode of card.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"autoColor",
|
||||||
|
"fullColor",
|
||||||
|
"singleColor"
|
||||||
|
],
|
||||||
|
"default": "fullColor"
|
||||||
|
},
|
||||||
"formConfigAbility": {
|
"formConfigAbility": {
|
||||||
"description": "Indicates the name of the facility or activity for card adjustment.",
|
"description": "Indicates the name of the facility or activity for card adjustment.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -258,6 +295,19 @@
|
|||||||
"circle"
|
"circle"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"previewImages": {
|
||||||
|
"description": "This label indicates that the form previewImages map corresponds to the \"supportShapes\".",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^[$]media:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]$"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"enableBlurBackground": {
|
||||||
|
"description": "This label indicates whether the form uses blur background.",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
"description": "Indicates the configuration of insightIntents.",
|
"description": "Indicates the configuration of insightIntents.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"minItems": 1,
|
"minItems": 1,
|
||||||
"maxItems": 32,
|
"maxItems": 128,
|
||||||
"uniqueItems": true,
|
"uniqueItems": true,
|
||||||
"items": {
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@ -29,7 +29,14 @@
|
|||||||
"uiAbility",
|
"uiAbility",
|
||||||
"serviceExtension",
|
"serviceExtension",
|
||||||
"uiExtension",
|
"uiExtension",
|
||||||
"form"
|
"form",
|
||||||
|
"displayName",
|
||||||
|
"displayDescription",
|
||||||
|
"icon",
|
||||||
|
"keywords",
|
||||||
|
"inputParams",
|
||||||
|
"outputParams",
|
||||||
|
"entities"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@ -80,11 +87,11 @@
|
|||||||
"executeMode": {
|
"executeMode": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type":"string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
"background",
|
"background",
|
||||||
"foreground"
|
"foreground"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -152,6 +159,43 @@
|
|||||||
"maxLength": 127
|
"maxLength": 127
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"displayName": {
|
||||||
|
"description": "Indicates the display name of insightIntent.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"displayDescription": {
|
||||||
|
"description": "Indicates the display description of insightIntent.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"icon": {
|
||||||
|
"description": "Indicates the display icon of insightIntent.",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"keywords": {
|
||||||
|
"description": "Indicates the keywords of insightIntent.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"inputParams": {
|
||||||
|
"description": "Indicates the input params of insightIntent.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"outputParams": {
|
||||||
|
"description": "Indicates the output params of insightIntent.",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"entities": {
|
||||||
|
"description": "Indicates the entities of insightIntent.",
|
||||||
|
"type": "object"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -29,21 +29,29 @@
|
|||||||
"enum": [
|
"enum": [
|
||||||
"name",
|
"name",
|
||||||
"type",
|
"type",
|
||||||
|
"srcEntry",
|
||||||
|
"abilitySrcEntryDelegator",
|
||||||
|
"abilityStageSrcEntryDelegator",
|
||||||
"description",
|
"description",
|
||||||
"deliveryWithInstall",
|
"deliveryWithInstall",
|
||||||
"deviceTypes",
|
"deviceTypes",
|
||||||
|
"deviceFeatures",
|
||||||
"pages",
|
"pages",
|
||||||
"metadata",
|
"metadata",
|
||||||
|
"abilities",
|
||||||
|
"extensionAbilities",
|
||||||
"requestPermissions",
|
"requestPermissions",
|
||||||
"dependencies",
|
"dependencies",
|
||||||
"libIsolation",
|
"libIsolation",
|
||||||
"compressNativeLibs",
|
"compressNativeLibs",
|
||||||
|
"extractNativeLibs",
|
||||||
"installationFree",
|
"installationFree",
|
||||||
"atomicService",
|
"atomicService",
|
||||||
"targetModuleName",
|
"targetModuleName",
|
||||||
"targetPriority",
|
"targetPriority",
|
||||||
"generateBuildHash",
|
"generateBuildHash",
|
||||||
"routerMap"
|
"routerMap",
|
||||||
|
"appStartup"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@ -73,6 +81,7 @@
|
|||||||
"process",
|
"process",
|
||||||
"mainElement",
|
"mainElement",
|
||||||
"deviceTypes",
|
"deviceTypes",
|
||||||
|
"deviceFeatures",
|
||||||
"installationFree",
|
"installationFree",
|
||||||
"virtualMachine",
|
"virtualMachine",
|
||||||
"uiSyntax",
|
"uiSyntax",
|
||||||
@ -84,7 +93,8 @@
|
|||||||
"testRunner",
|
"testRunner",
|
||||||
"dependencies",
|
"dependencies",
|
||||||
"libIsolation",
|
"libIsolation",
|
||||||
"routerMap"
|
"routerMap",
|
||||||
|
"appStartup"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@ -109,15 +119,19 @@
|
|||||||
"type",
|
"type",
|
||||||
"srcEntrance",
|
"srcEntrance",
|
||||||
"srcEntry",
|
"srcEntry",
|
||||||
|
"abilitySrcEntryDelegator",
|
||||||
|
"abilityStageSrcEntryDelegator",
|
||||||
"description",
|
"description",
|
||||||
"process",
|
"process",
|
||||||
"mainElement",
|
"mainElement",
|
||||||
"deviceTypes",
|
"deviceTypes",
|
||||||
|
"deviceFeatures",
|
||||||
"deliveryWithInstall",
|
"deliveryWithInstall",
|
||||||
"installationFree",
|
"installationFree",
|
||||||
"virtualMachine",
|
"virtualMachine",
|
||||||
"uiSyntax",
|
"uiSyntax",
|
||||||
"pages",
|
"pages",
|
||||||
|
"systemTheme",
|
||||||
"metadata",
|
"metadata",
|
||||||
"abilities",
|
"abilities",
|
||||||
"extensionAbilities",
|
"extensionAbilities",
|
||||||
@ -127,6 +141,7 @@
|
|||||||
"dependencies",
|
"dependencies",
|
||||||
"libIsolation",
|
"libIsolation",
|
||||||
"compressNativeLibs",
|
"compressNativeLibs",
|
||||||
|
"extractNativeLibs",
|
||||||
"atomicService",
|
"atomicService",
|
||||||
"generateBuildHash",
|
"generateBuildHash",
|
||||||
"isolationMode",
|
"isolationMode",
|
||||||
@ -162,10 +177,13 @@
|
|||||||
"type",
|
"type",
|
||||||
"srcEntrance",
|
"srcEntrance",
|
||||||
"srcEntry",
|
"srcEntry",
|
||||||
|
"abilitySrcEntryDelegator",
|
||||||
|
"abilityStageSrcEntryDelegator",
|
||||||
"description",
|
"description",
|
||||||
"process",
|
"process",
|
||||||
"mainElement",
|
"mainElement",
|
||||||
"deviceTypes",
|
"deviceTypes",
|
||||||
|
"deviceFeatures",
|
||||||
"deliveryWithInstall",
|
"deliveryWithInstall",
|
||||||
"installationFree",
|
"installationFree",
|
||||||
"virtualMachine",
|
"virtualMachine",
|
||||||
@ -180,6 +198,7 @@
|
|||||||
"dependencies",
|
"dependencies",
|
||||||
"libIsolation",
|
"libIsolation",
|
||||||
"compressNativeLibs",
|
"compressNativeLibs",
|
||||||
|
"extractNativeLibs",
|
||||||
"atomicService",
|
"atomicService",
|
||||||
"generateBuildHash",
|
"generateBuildHash",
|
||||||
"isolationMode",
|
"isolationMode",
|
||||||
@ -225,6 +244,18 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"maxLength": 127
|
"maxLength": 127
|
||||||
},
|
},
|
||||||
|
"abilitySrcEntryDelegator": {
|
||||||
|
"description": "This tag indicates the delegator for Ability",
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$",
|
||||||
|
"maxLength": 127
|
||||||
|
},
|
||||||
|
"abilityStageSrcEntryDelegator": {
|
||||||
|
"description": "This tag indicates the delegator for AbilityStage",
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$",
|
||||||
|
"maxLength": 128
|
||||||
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"description": "Indicates the description of the current .hap file.",
|
"description": "Indicates the description of the current .hap file.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -256,6 +287,19 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"deviceFeatures": {
|
||||||
|
"description": "Declarable device capabilities required by the application.",
|
||||||
|
"type": "array",
|
||||||
|
"uniqueItems": true,
|
||||||
|
"items": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"multi_process",
|
||||||
|
"free_multi_window",
|
||||||
|
"directory_permission"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"deliveryWithInstall": {
|
"deliveryWithInstall": {
|
||||||
"description": "Specifies whether the .hap file is installed when the user installs the application.true: The .hap file is installed during the application installation.false: The .hap file is not installed during the application installation.This label cannot be left blank.",
|
"description": "Specifies whether the .hap file is installed when the user installs the application.true: The .hap file is installed during the application installation.false: The .hap file is not installed during the application installation.This label cannot be left blank.",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
@ -289,6 +333,12 @@
|
|||||||
"pattern": "^[$]profile:[0-9a-zA-Z_.]+$",
|
"pattern": "^[$]profile:[0-9a-zA-Z_.]+$",
|
||||||
"maxLength": 255
|
"maxLength": 255
|
||||||
},
|
},
|
||||||
|
"systemTheme": {
|
||||||
|
"description": "Indicates the system theme of the module. The value is the index to the theme config file.",
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^[$]profile:theme_config[0-9a-zA-Z_.]*$",
|
||||||
|
"maxLength": 255
|
||||||
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"description": "Indicates the metadata of the module.",
|
"description": "Indicates the metadata of the module.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -350,6 +400,7 @@
|
|||||||
"skills",
|
"skills",
|
||||||
"backgroundModes",
|
"backgroundModes",
|
||||||
"continuable",
|
"continuable",
|
||||||
|
"startWindow",
|
||||||
"startWindowIcon",
|
"startWindowIcon",
|
||||||
"startWindowBackground",
|
"startWindowBackground",
|
||||||
"removeMissionAfterTerminate",
|
"removeMissionAfterTerminate",
|
||||||
@ -368,7 +419,8 @@
|
|||||||
"preferMultiWindowOrientation",
|
"preferMultiWindowOrientation",
|
||||||
"isolationProcess",
|
"isolationProcess",
|
||||||
"continueType",
|
"continueType",
|
||||||
"continueBundleName"
|
"continueBundleName",
|
||||||
|
"process"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -633,6 +685,12 @@
|
|||||||
"description": "Identifies whether the ability can be migrated. The default value is false.",
|
"description": "Identifies whether the ability can be migrated. The default value is false.",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
"startWindow": {
|
||||||
|
"description": "Indicates the startup page configuration. The value is the index to the resource file.",
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^[$]profile:[0-9a-zA-Z_.]+$",
|
||||||
|
"maxLength": 255
|
||||||
|
},
|
||||||
"startWindowIcon": {
|
"startWindowIcon": {
|
||||||
"description": "Indicates the icon of the startup page. The value is the index to the resource file.",
|
"description": "Indicates the icon of the startup page. The value is the index to the resource file.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -780,6 +838,12 @@
|
|||||||
"maxLength": 128,
|
"maxLength": 128,
|
||||||
"minLength": 7
|
"minLength": 7
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"process": {
|
||||||
|
"description": "Running process tag the ability.",
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 31,
|
||||||
|
"pattern": "^[:][0-9a-zA-Z_]+$"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -789,73 +853,113 @@
|
|||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"if": {
|
"allOf": [
|
||||||
"properties": {
|
{
|
||||||
"type": {
|
"if": {
|
||||||
"const": "dataShare"
|
"properties": {
|
||||||
}
|
"type": {
|
||||||
}
|
"const": "dataShare"
|
||||||
},
|
}
|
||||||
"then": {
|
}
|
||||||
"oneOf": [
|
},
|
||||||
{
|
"then": {
|
||||||
"required": [
|
"oneOf": [
|
||||||
"name",
|
{
|
||||||
"srcEntrance",
|
"required": [
|
||||||
"type",
|
"name",
|
||||||
"uri"
|
"srcEntrance",
|
||||||
|
"type",
|
||||||
|
"uri"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"name",
|
||||||
|
"srcEntry",
|
||||||
|
"type",
|
||||||
|
"uri"
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
"else": {
|
||||||
"required": [
|
"oneOf": [
|
||||||
"name",
|
{
|
||||||
"srcEntry",
|
"required": [
|
||||||
"type",
|
"name",
|
||||||
"uri"
|
"srcEntrance",
|
||||||
|
"type"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"required": [
|
||||||
|
"name",
|
||||||
|
"srcEntry",
|
||||||
|
"type"
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
},
|
||||||
},
|
{
|
||||||
"else": {
|
"if": {
|
||||||
"oneOf": [
|
"properties": {
|
||||||
{
|
"type": {
|
||||||
"required": [
|
"const": "embeddedUI"
|
||||||
"name",
|
}
|
||||||
"srcEntrance",
|
}
|
||||||
"type"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
"then": {
|
||||||
"required": [
|
"propertyNames": {
|
||||||
"name",
|
"enum": [
|
||||||
"srcEntry",
|
"priority",
|
||||||
"type"
|
"name",
|
||||||
]
|
"srcEntrance",
|
||||||
|
"srcEntry",
|
||||||
|
"icon",
|
||||||
|
"label",
|
||||||
|
"description",
|
||||||
|
"type",
|
||||||
|
"permissions",
|
||||||
|
"uri",
|
||||||
|
"readPermission",
|
||||||
|
"writePermission",
|
||||||
|
"visible",
|
||||||
|
"exported",
|
||||||
|
"skills",
|
||||||
|
"metadata",
|
||||||
|
"extensionProcessMode",
|
||||||
|
"dataGroupIds",
|
||||||
|
"process"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"else": {
|
||||||
|
"propertyNames": {
|
||||||
|
"enum": [
|
||||||
|
"priority",
|
||||||
|
"name",
|
||||||
|
"srcEntrance",
|
||||||
|
"srcEntry",
|
||||||
|
"icon",
|
||||||
|
"label",
|
||||||
|
"description",
|
||||||
|
"type",
|
||||||
|
"permissions",
|
||||||
|
"uri",
|
||||||
|
"readPermission",
|
||||||
|
"writePermission",
|
||||||
|
"visible",
|
||||||
|
"exported",
|
||||||
|
"skills",
|
||||||
|
"metadata",
|
||||||
|
"extensionProcessMode",
|
||||||
|
"dataGroupIds"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
},
|
|
||||||
"propertyNames": {
|
|
||||||
"enum": [
|
|
||||||
"priority",
|
|
||||||
"name",
|
|
||||||
"srcEntrance",
|
|
||||||
"srcEntry",
|
|
||||||
"icon",
|
|
||||||
"label",
|
|
||||||
"description",
|
|
||||||
"type",
|
|
||||||
"permissions",
|
|
||||||
"uri",
|
|
||||||
"readPermission",
|
|
||||||
"writePermission",
|
|
||||||
"visible",
|
|
||||||
"exported",
|
|
||||||
"skills",
|
|
||||||
"metadata",
|
|
||||||
"extensionProcessMode",
|
|
||||||
"dataGroupIds"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"priority": {
|
"priority": {
|
||||||
"description": "Indicates the priority of the ability.Only for system application.This field is used for implicit query.Range from 0 to 10, default value is 0.",
|
"description": "Indicates the priority of the ability.Only for system application.This field is used for implicit query.Range from 0 to 10, default value is 0.",
|
||||||
@ -927,6 +1031,7 @@
|
|||||||
"hms/account",
|
"hms/account",
|
||||||
"appAccountAuthorization",
|
"appAccountAuthorization",
|
||||||
"ads",
|
"ads",
|
||||||
|
"fence",
|
||||||
"remoteNotification",
|
"remoteNotification",
|
||||||
"remoteLocation",
|
"remoteLocation",
|
||||||
"voip",
|
"voip",
|
||||||
@ -956,7 +1061,15 @@
|
|||||||
"sysPicker/filePicker",
|
"sysPicker/filePicker",
|
||||||
"sysPicker/audioPicker",
|
"sysPicker/audioPicker",
|
||||||
"sys/visualExtension",
|
"sys/visualExtension",
|
||||||
"recentPhoto"
|
"uiService",
|
||||||
|
"recentPhoto",
|
||||||
|
"callerInfoQuery",
|
||||||
|
"assetAcceleration",
|
||||||
|
"formEdit",
|
||||||
|
"distributed",
|
||||||
|
"awc/webpage",
|
||||||
|
"awc/newsfeed",
|
||||||
|
"vpn"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"permissions": {
|
"permissions": {
|
||||||
@ -1150,16 +1263,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extensionProcessMode": {
|
|
||||||
"description": "Indicates the extension support multi instance model.",
|
|
||||||
"type": "string",
|
|
||||||
"enum": [
|
|
||||||
"instance",
|
|
||||||
"type",
|
|
||||||
"bundle"
|
|
||||||
],
|
|
||||||
"default": "bundle"
|
|
||||||
},
|
|
||||||
"dataGroupIds": {
|
"dataGroupIds": {
|
||||||
"description": "Indicates the data group IDs associated with the extension ability.",
|
"description": "Indicates the data group IDs associated with the extension ability.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -1170,6 +1273,48 @@
|
|||||||
"maxLength": 1024,
|
"maxLength": 1024,
|
||||||
"pattern": "^[\\x00-\\x7F]*$"
|
"pattern": "^[\\x00-\\x7F]*$"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"process": {
|
||||||
|
"description": "Running process tag the extension ability.",
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 31,
|
||||||
|
"pattern": "^[:][0-9a-zA-Z_]+$"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"if": {
|
||||||
|
"properties": {
|
||||||
|
"type": {
|
||||||
|
"const": "statusBarView"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"then": {
|
||||||
|
"properties": {
|
||||||
|
"extensionProcessMode": {
|
||||||
|
"description": "Indicates the extension support multi instance model.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"instance",
|
||||||
|
"type",
|
||||||
|
"bundle",
|
||||||
|
"runWithMainProcess"
|
||||||
|
],
|
||||||
|
"default": "bundle"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"else": {
|
||||||
|
"properties": {
|
||||||
|
"extensionProcessMode": {
|
||||||
|
"description": "Indicates the extension support multi instance model.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"instance",
|
||||||
|
"type",
|
||||||
|
"bundle"
|
||||||
|
],
|
||||||
|
"default": "bundle"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1369,6 +1514,11 @@
|
|||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false
|
||||||
},
|
},
|
||||||
|
"extractNativeLibs": {
|
||||||
|
"description": "Specifies whether to extract native libraries (so) of the .hap file during installation.",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true
|
||||||
|
},
|
||||||
"atomicService": {
|
"atomicService": {
|
||||||
"description": "Indicates the module config in atomic service.",
|
"description": "Indicates the module config in atomic service.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|||||||
64
win/modulecheck/startWindow.json
Normal file
64
win/modulecheck/startWindow.json
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
{
|
||||||
|
"title": "JSON schema for startWindow.json",
|
||||||
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": true,
|
||||||
|
"required": [
|
||||||
|
"startWindowBackgroundColor"
|
||||||
|
],
|
||||||
|
"propertyNames": {
|
||||||
|
"enum": [
|
||||||
|
"startWindowAppIcon",
|
||||||
|
"startWindowIllustration",
|
||||||
|
"startWindowBrandingImage",
|
||||||
|
"startWindowBackgroundColor",
|
||||||
|
"startWindowBackgroundImage",
|
||||||
|
"startWindowBackgroundImageFit"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"startWindowAppIcon": {
|
||||||
|
"description": "Indicates the app icon of the startup page. The value is the index to the resource file.",
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^[$]media:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$",
|
||||||
|
"maxLength": 255
|
||||||
|
},
|
||||||
|
"startWindowIllustration": {
|
||||||
|
"description": "Indicates the illustration of the startup page. The value is the index to the resource file.",
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^[$]media:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$",
|
||||||
|
"maxLength": 255
|
||||||
|
},
|
||||||
|
"startWindowBrandingImage": {
|
||||||
|
"description": "Indicates the branding image the startup page. The value is the index to the resource file.",
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^[$]media:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$",
|
||||||
|
"maxLength": 255
|
||||||
|
},
|
||||||
|
"startWindowBackgroundColor": {
|
||||||
|
"description": "Indicates the background color the startup page. The value is the index to the resource file.",
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^[$]color:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$",
|
||||||
|
"maxLength": 255
|
||||||
|
},
|
||||||
|
"startWindowBackgroundImage": {
|
||||||
|
"description": "Indicates the background image the startup page. The value is the index to the resource file.",
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^[$]media:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$",
|
||||||
|
"maxLength": 255
|
||||||
|
},
|
||||||
|
"startWindowBackgroundImageFit": {
|
||||||
|
"description": "Indicates the background fit the startup page. The value is the string",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"Contain",
|
||||||
|
"Cover",
|
||||||
|
"Auto",
|
||||||
|
"Fill",
|
||||||
|
"ScaleDown",
|
||||||
|
"None"
|
||||||
|
],
|
||||||
|
"default": "Cover"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
23
win/modulecheck/themeConfig.json
Normal file
23
win/modulecheck/themeConfig.json
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"title": "JSON schema for theme-config.json",
|
||||||
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": true,
|
||||||
|
"required": [
|
||||||
|
"systemTheme"
|
||||||
|
],
|
||||||
|
"propertyNames": {
|
||||||
|
"enum": [
|
||||||
|
"systemTheme"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"systemTheme": {
|
||||||
|
"description": "Indicates the system theme of the module.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"$ohos:theme:ohos_theme"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"apiVersion": "13",
|
"apiVersion": "19",
|
||||||
"displayName": "Toolchains",
|
"displayName": "Toolchains",
|
||||||
"meta": {
|
"meta": {
|
||||||
"metaVersion": "3.0.0"
|
"metaVersion": "3.0.0"
|
||||||
},
|
},
|
||||||
"path": "toolchains",
|
"path": "toolchains",
|
||||||
"releaseType": "Release",
|
"releaseType": "Beta1",
|
||||||
"version": "5.0.1.115"
|
"version": "5.1.0.63"
|
||||||
}
|
}
|
||||||
BIN
win/rawheap_translator.exe
Normal file → Executable file
BIN
win/rawheap_translator.exe
Normal file → Executable file
Binary file not shown.
BIN
win/restool.exe
Normal file → Executable file
BIN
win/restool.exe
Normal file → Executable file
Binary file not shown.
BIN
win/spirv-remap.exe
Normal file → Executable file
BIN
win/spirv-remap.exe
Normal file → Executable file
Binary file not shown.
BIN
win/syscap_tool.exe
Normal file → Executable file
BIN
win/syscap_tool.exe
Normal file → Executable file
Binary file not shown.
@ -4,9 +4,9 @@ set DOWNLOAD_PATH=..\scan
|
|||||||
|
|
||||||
cd %TOOLCHAIN_PATH%
|
cd %TOOLCHAIN_PATH%
|
||||||
.\hdc.exe shell mount -o remount,rw /
|
.\hdc.exe shell mount -o remount,rw /
|
||||||
.\hdc.exe file send %DOWNLOAD_PATH%/libmedia_library.z.so /system/lib/platformsdk/libmedia_library.z.so
|
.\hdc.exe file send %DOWNLOAD_PATH%/libmedia_library.z.so /system/lib/platformsdk/
|
||||||
.\hdc.exe file send %DOWNLOAD_PATH%/libmedialibrary_data_extension.z.so /system/lib/libmedialibrary_data_extension.z.so
|
.\hdc.exe file send %DOWNLOAD_PATH%/libmedialibrary_data_extension.z.so /system/lib/
|
||||||
.\hdc.exe file send %DOWNLOAD_PATH%/libmedialibrary_data_extension.z.so /data/app/el1/bundle/public/com.ohos.medialibrary.medialibrarydata/libs/arm/libmedialibrary_data_extension.z.so
|
.\hdc.exe file send %DOWNLOAD_PATH%/libmedialibrary_data_extension.z.so /data/app/el1/bundle/public/com.ohos.medialibrary.medialibrarydata/libs/arm/
|
||||||
.\hdc.exe shell reboot
|
.\hdc.exe shell reboot
|
||||||
echo "all success"
|
echo "all success"
|
||||||
pause
|
pause
|
||||||
7
进入刷机模式.bat
Normal file
7
进入刷机模式.bat
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
@echo off
|
||||||
|
set TOOLCHAIN_PATH=.\win
|
||||||
|
|
||||||
|
cd %TOOLCHAIN_PATH%
|
||||||
|
.\hdc.exe shell reboot bootloader
|
||||||
|
echo "all success"
|
||||||
|
pause
|
||||||
Loading…
x
Reference in New Issue
Block a user