mirror of
https://github.com/a244573118/WeChatIntercept.git
synced 2026-07-02 02:40:37 +08:00
支持微信版本2.3.29消息防撤回
This commit is contained in:
+3
-3
@@ -18,11 +18,11 @@ framework_name="WeChatIntercept"
|
||||
app_bundle_path="${WeChat_path}/Contents/MacOS"
|
||||
app_executable_path="${app_bundle_path}/${app_name}"
|
||||
app_executable_backup_path="${app_executable_path}_backup"
|
||||
framework_path="${shell_path}/${framework_name}.framework"
|
||||
framework_path="${app_bundle_path}/${framework_name}.framework"
|
||||
if [ ! -w "$WeChat_path" ]
|
||||
then
|
||||
echo -e "为了将ZY助手写入微信, 请输入密码 : "
|
||||
sudo chown -R $(whoami) "$WeChat_path"
|
||||
sudo chmod -R 777 $(whoami) "$WeChat_path"
|
||||
fi
|
||||
|
||||
if [ ! -f "$app_executable_backup_path" ] || [ -n "$1" -a "$1" = "--force" ]
|
||||
@@ -35,7 +35,7 @@ else
|
||||
fi
|
||||
|
||||
if [[ "$result" == 'y' ]]; then
|
||||
cp -r $framework_path ${app_bundle_path}
|
||||
cp -r "${shell_path}/${framework_name}.framework" ${app_bundle_path}
|
||||
${shell_path}/insert_dylib --all-yes "${framework_path}/${framework_name}" "$app_executable_backup_path" "$app_executable_path"
|
||||
echo "安装成功!"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user