mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2024-11-30 10:40:33 +00:00
!709 PC需求-增加Docs和Desktop
Merge pull request !709 from onexiaomin/master
This commit is contained in:
commit
b0e3c57563
@ -502,51 +502,53 @@
|
|||||||
}]
|
}]
|
||||||
}]
|
}]
|
||||||
}],
|
}],
|
||||||
"permission":[
|
"permission":[{
|
||||||
{
|
"ohos.permission.FILE_ACCESS_MANAGER":[{
|
||||||
"ohos.permission.FILE_ACCESS_MANAGER":[
|
|
||||||
{
|
|
||||||
"sandbox-switch": "ON",
|
"sandbox-switch": "ON",
|
||||||
"sandbox-root": "/mnt/sandbox/<PackageName>",
|
"sandbox-root": "/mnt/sandbox/<PackageName>",
|
||||||
"gids": [1006, 1008],
|
"gids": [1006, 1008],
|
||||||
"mount-paths": [
|
"mount-paths": [{
|
||||||
{
|
"src-path": "/data/service/el1/public/storage_daemon/share/public",
|
||||||
"src-path": "/data/service/el1/public/storage_daemon/share/public",
|
"sandbox-path": "/storage/Share",
|
||||||
"sandbox-path": "/storage/Share",
|
"sandbox-flags": [ "bind", "rec" ]
|
||||||
"sandbox-flags": [ "bind", "rec" ]
|
},
|
||||||
},
|
|
||||||
{
|
|
||||||
"src-path": "/mnt/data/external",
|
|
||||||
"sandbox-path": "/storage/External",
|
|
||||||
"sandbox-flags": [ "bind", "rec" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src-path": "/storage/media/<currentUserId>/local/files/Documents",
|
|
||||||
"sandbox-path": "/storage/local/Documents",
|
|
||||||
"sandbox-flags": [ "bind", "rec" ]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src-path": "/storage/media/<currentUserId>/local/files/Download",
|
|
||||||
"sandbox-path": "/storage/local/Download",
|
|
||||||
"sandbox-flags": [ "bind", "rec" ]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"ohos.permission.READ_IMAGEVIDEO":[
|
|
||||||
{
|
|
||||||
"sandbox-switch": "ON",
|
|
||||||
"sandbox-root": "/mnt/sandbox/<PackageName>",
|
|
||||||
"gids": [1008],
|
|
||||||
"mount-paths": [
|
|
||||||
{
|
{
|
||||||
"src-path": "/storage/media/<currentUserId>/local/files/.thumbs/Photo",
|
"src-path": "/mnt/data/external",
|
||||||
"sandbox-path": "/storage/Share/.thumbs/Photo",
|
"sandbox-path": "/storage/External",
|
||||||
"sandbox-flags": [ "bind", "rec" ]
|
"sandbox-flags": [ "bind", "rec" ]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src-path": "/storage/media/<currentUserId>/local/files/Docs",
|
||||||
|
"sandbox-path": "/storage/Users/currentUserId",
|
||||||
|
"sandbox-flags": [ "bind", "rec" ]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src-path": "/storage/media/<currentUserId>/local/files/Download",
|
||||||
|
"sandbox-path": "/storage/Users/currentUserId/Download",
|
||||||
|
"sandbox-flags": ["bind", "rec" ]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src-path": "/storage/media/<currentUserId>/local/files/Desktop",
|
||||||
|
"sandbox-path": "/storage/Users/currentUserId/Desktop",
|
||||||
|
"sandbox-flags": ["bind", "rec" ]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src-path": "/storage/media/<currentUserId>/local/files/Documents",
|
||||||
|
"sandbox-path": "/storage/Users/currentUserId/Documents",
|
||||||
|
"sandbox-flags": ["bind", "rec" ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}],
|
||||||
]
|
"ohos.permission.READ_IMAGEVIDEO":[{
|
||||||
}
|
"sandbox-switch": "ON",
|
||||||
]
|
"sandbox-root": "/mnt/sandbox/<PackageName>",
|
||||||
|
"gids": [1008],
|
||||||
|
"mount-paths": [{
|
||||||
|
"src-path": "/storage/media/<currentUserId>/local/files/.thumbs/Photo",
|
||||||
|
"sandbox-path": "/storage/Share/.thumbs/Photo",
|
||||||
|
"sandbox-flags": [ "bind", "rec" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}]
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user