diff --git a/Install.sh b/Install.sh index d7ec4eb..3f9af08 100755 --- a/Install.sh +++ b/Install.sh @@ -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 diff --git a/WeChatIntercept.framework/Versions/A/Headers/WeChatIntercept.h b/WeChatIntercept.framework/Versions/A/Headers/WeChatIntercept.h index 78407c1..c63ccd5 100644 --- a/WeChatIntercept.framework/Versions/A/Headers/WeChatIntercept.h +++ b/WeChatIntercept.framework/Versions/A/Headers/WeChatIntercept.h @@ -55,7 +55,7 @@ FOUNDATION_EXPORT const unsigned char WeChatInterceptVersionString[]; @end @interface MessageService : NSObject - (void)onRevokeMsg:(id)arg1; -- (void)FFToNameFavChatZZ:(id)arg1; +- (void)FFToNameFavChatZZ:(id)arg1 sessionMsgList:(id)arg2; - (void)OnSyncBatchAddMsgs:(NSArray *)arg1 isFirstSync:(BOOL)arg2; - (void)FFImgToOnFavInfoInfoVCZZ:(id)arg1 isFirstSync:(BOOL)arg2; - (id)SendTextMessage:(id)arg1 toUsrName:(id)arg2 msgText:(id)arg3 atUserList:(id)arg4; diff --git a/WeChatIntercept.framework/Versions/A/Resources/Info.plist b/WeChatIntercept.framework/Versions/A/Resources/Info.plist index 60f4b76..8cb5c41 100644 --- a/WeChatIntercept.framework/Versions/A/Resources/Info.plist +++ b/WeChatIntercept.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 18F132 + 18G1012 CFBundleDevelopmentRegion en CFBundleExecutable @@ -27,17 +27,19 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 10E1001 + 11B52 DTPlatformVersion GM DTSDKBuild - 18E219 + 19B81 DTSDKName - macosx10.14 + macosx10.15 DTXcode - 1021 + 1120 DTXcodeBuild - 10E1001 + 11B52 + LSMinimumSystemVersion + 10.14 NSHumanReadableCopyright Copyright © 2019 张洋. All rights reserved. diff --git a/WeChatIntercept.framework/Versions/A/WeChatIntercept b/WeChatIntercept.framework/Versions/A/WeChatIntercept index bcf471f..ee0382f 100755 Binary files a/WeChatIntercept.framework/Versions/A/WeChatIntercept and b/WeChatIntercept.framework/Versions/A/WeChatIntercept differ