Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
06473fcb
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
大约 1 年 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
06473fcb
编写于
2月 22, 2022
作者:
P
panqiangbiao
提交者:
zhang-daiyue
2月 23, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add file in run command
Signed-off-by:
N
panqiangbiao
<
panqiangbiao@huawei.com
>
上级
a7fab5d9
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
19 addition
and
4 deletion
+19
-4
multimedia/medialibrary/mediaLibrary_js_standard/Test.json
multimedia/medialibrary/mediaLibrary_js_standard/Test.json
+19
-4
未找到文件。
multimedia/medialibrary/mediaLibrary_js_standard/Test.json
浏览文件 @
06473fcb
...
...
@@ -14,16 +14,31 @@
"push"
:
[
"./resource/medialibrary/01.jpg ->/storage/media/100/local/files"
,
"./resource/medialibrary/01.mp3 ->/storage/media/100/local/files"
,
"./resource/medialibrary/01.mp4 ->/storage/media/100/local/files"
,
"./resource/medialibrary/copy_files.sh ->/data/local/tmp"
"./resource/medialibrary/01.mp4 ->/storage/media/100/local/files"
]
},
{
"type"
:
"ShellKit"
,
"run-command"
:
[
"sh /data/local/tmp/copy_files.sh"
,
"mkdir /storage/media/100/local/files/pictures"
,
"cp /storage/media/100/local/files/01.jpg /storage/media/100/local/files/pictures/"
,
"cp /storage/media/100/local/files/01.mp3 /storage/media/100/local/files/pictures/"
,
"cp /storage/media/100/local/files/01.mp4 /storage/media/100/local/files/pictures/"
,
"mkdir /storage/media/100/local/files/pictures/weixin"
,
"cp /storage/media/100/local/files/01.jpg /storage/media/100/local/files/pictures/weixin"
,
"cp /storage/media/100/local/files/01.mp3 /storage/media/100/local/files/pictures/weixin"
,
"cp /storage/media/100/local/files/01.mp4 /storage/media/100/local/files/pictures/weixin"
,
"mkdir /storage/media/100/local/files/camera"
,
"cp /storage/media/100/local/files/01.jpg /storage/media/100/local/files/camera/01.jpg"
,
"cp /storage/media/100/local/files/01.jpg /storage/media/100/local/files/camera/02.jpg"
,
"cp /storage/media/100/local/files/01.mp3 /storage/media/100/local/files/camera/01.mp3"
,
"cp /storage/media/100/local/files/01.mp3 /storage/media/100/local/files/camera/02.mp3"
,
"cp /storage/media/100/local/files/01.mp4 /storage/media/100/local/files/camera/01.mp4"
,
"cp /storage/media/100/local/files/01.mp4 /storage/media/100/local/files/camera/02.mp4"
,
"chmod -R 777 /storage/media/100/local/files/*"
,
"chmod -R 777 /data/service/el2/100/hmdfs/account/files/*"
"chmod -R 777 /data/service/el2/100/hmdfs/account/files/*"
,
"killall com.ohos.medialibrary.MediaScannerAbilityA"
,
"aa start -a MediaScannerAbility -b com.ohos.medialibrary.MediaScannerAbilityA"
],
"teardown-command"
:[
"rm -rf /storage/media/100/local/files/*"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录