From 4742521f3c41323748acb1468b44a6391fba8e3b Mon Sep 17 00:00:00 2001 From: yutent Date: Wed, 6 Nov 2024 17:55:14 +0800 Subject: [PATCH] fixed --- wechat/package.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/wechat/package.sh b/wechat/package.sh index 0a8d04d..810638b 100755 --- a/wechat/package.sh +++ b/wechat/package.sh @@ -44,15 +44,15 @@ dpkg-deb -R "${tmp_dir}/${app_name}.deb" "${tmp_dir}/${app_name}" echo "解包完成, 复制到待打包目录..." -cp -r "${tmp_dir}/${app_name}/opt/apps/com.tencent.wechat/files" $app_dir/com.tencent.wechat -cp -r "${tmp_dir}/${app_name}/opt/apps/com.tencent.wechat/entries/icons/hicolor" "./unpack/usr/share/icons/" +cp -rv "${tmp_dir}/${app_name}/opt/apps/com.tencent.wechat/files" $app_dir/com.tencent.wechat +cp -rv "${tmp_dir}/${app_name}/opt/apps/com.tencent.wechat/entries/icons/hicolor" "./unpack/usr/share/icons/" rm -rf $tmp_dir # echo "复制uos环境文件..." -cp -r ./license/etc ./unpack/usr/share/wechat-uos/ -cp -r ./license/var ./unpack/usr/share/wechat-uos/ -cp ./license/libuosdevicea.so ./unpack/usr/lib/license/libuosdevicea.so +cp -rv ./license/etc ./unpack/usr/share/wechat-uos/ +cp -rv ./license/var ./unpack/usr/share/wechat-uos/ +cp -v ./license/libuosdevicea.so ./unpack/usr/lib/license/libuosdevicea.so echo """ #!/bin/bash @@ -62,6 +62,8 @@ exit 1 chmod +x $app_dir/com.tencent.wechat/crashpad_handler +rm -vf $app_dir/com.tencent.wechat/libcrashpad_client.so + echo "复制完成, 创建可执行文件及程序桌面入口文件..." echo """