mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2024-11-23 15:10:44 +00:00
add shader dir
Signed-off-by: wangfeng <wangfeng277@huawei.com>
This commit is contained in:
parent
d5c6ff9a69
commit
9278c39928
@ -130,6 +130,12 @@
|
||||
}, {
|
||||
"src-path" : "/data/local/ark-profile/<currentUserId>/<PackageName>",
|
||||
"sandbox-path" : "/data/storage/ark-profile"
|
||||
}, {
|
||||
"src-path" : "/data/local/shader_cache/local/<PackageName>",
|
||||
"sandbox-path" : "/data/storage/shader_cache/local"
|
||||
}, {
|
||||
"src-path" : "/data/local/shader_cache/cloud/<PackageName>",
|
||||
"sandbox-path" : "/data/storage/shader_cache/cloud"
|
||||
}, {
|
||||
"src-path" : "/mnt/share/<currentUserId>/<PackageName_index>",
|
||||
"sandbox-path" : "/data/storage/el2/share"
|
||||
@ -243,6 +249,12 @@
|
||||
"sandbox-path": "/data/medialibrary/database"
|
||||
}
|
||||
]
|
||||
}, {
|
||||
"name": "ohos.permission.ACCESS_SHADER_CACHE_DIR",
|
||||
"mount-paths": [{
|
||||
"sandbox-path": "/data/storage/shader_caches",
|
||||
"src-path": "/data/local/shader_cache"
|
||||
}]
|
||||
}],
|
||||
"spawn-flag": [{
|
||||
"name": "START_FLAGS_BACKUP",
|
||||
|
@ -193,6 +193,16 @@
|
||||
"sandbox-path" : "/data/storage/ark-profile",
|
||||
"sandbox-flags" : [ "bind", "rec" ],
|
||||
"check-action-status": "false"
|
||||
}, {
|
||||
"src-path" : "/data/local/shader_cache/local/<PackageName>",
|
||||
"sandbox-path" : "/data/storage/shader_cache/local",
|
||||
"sandbox-flags" : [ "bind", "rec" ],
|
||||
"check-action-status": "false"
|
||||
}, {
|
||||
"src-path" : "/data/local/shader_cache/cloud/<PackageName>",
|
||||
"sandbox-path" : "/data/storage/shader_cache/cloud",
|
||||
"sandbox-flags" : [ "bind", "rec" ],
|
||||
"check-action-status": "false"
|
||||
}, {
|
||||
"src-path" : "/mnt/share/<currentUserId>/<PackageName_index>",
|
||||
"sandbox-path" : "/data/storage/el2/share",
|
||||
@ -785,6 +795,15 @@
|
||||
"sandbox-flags": [ "bind", "rec" ]
|
||||
}
|
||||
]
|
||||
}],
|
||||
"ohos.permission.ACCESS_SHADER_CACHE_DIR":[{
|
||||
"sandbox-switch": "ON",
|
||||
"mount-paths": [{
|
||||
"src-path": "/data/local/shader_cache",
|
||||
"sandbox-path": "/data/storage/shader_caches",
|
||||
"sandbox-flags": [ "bind", "rec" ]
|
||||
}
|
||||
]
|
||||
}]
|
||||
}]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user