diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension.zip b/WeChatExtension/Rely/Plugin/WeChatExtension.zip index 34da080a..7ec6dcf7 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension.zip and b/WeChatExtension/Rely/Plugin/WeChatExtension.zip differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/Base.lproj/TKRemoteControlWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/Base.lproj/TKRemoteControlWindowController.nib index 896bb3b0..aa394e51 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/Base.lproj/TKRemoteControlWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/Base.lproj/TKRemoteControlWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/Info.plist b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/Info.plist index 8cae0baf..4c81b34b 100644 --- a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/Info.plist +++ b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 18E226 + 19D76 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.4.2 + 2.4.3 CFBundleSupportedPlatforms MacOSX @@ -27,17 +27,17 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 11B500 + 11C504 DTPlatformVersion GM DTSDKBuild - 19B89 + 19B90 DTSDKName macosx10.15 DTXcode - 1120 + 1130 DTXcodeBuild - 11B500 + 11C504 LSMinimumSystemVersion 10.10 NSHumanReadableCopyright @@ -45,6 +45,6 @@ showUpdateWindow versionInfo - v2.4.2(2020-03-17):\n👉🏻 增加黑夜模式 \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身\n👉🏻 聊天框多选删除闪退BUG\n👉🏻 Alfred头像Bug\n👉🏻 优化适配英文系统\n👉🏻 修复2.3.26疯狂闪退 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n + v2.4.3(2020-03-17):\n👉🏻 优化黑夜模式. \n👉🏻 增加黑夜模式. \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身\n👉🏻 聊天框多选删除闪退BUG\n👉🏻 Alfred头像Bug\n👉🏻 优化适配英文系统\n👉🏻 修复2.3.26疯狂闪退 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/TKAboutWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/TKAboutWindowController.nib index 74f16afa..e3fafa2f 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/TKAboutWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/TKAboutWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/TKAutoReplyWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/TKAutoReplyWindowController.nib index 324cdaac..fd0fa2e0 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/TKAutoReplyWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/TKAutoReplyWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/TKDownloadWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/TKDownloadWindowController.nib index 5ef31c4c..05442edc 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/TKDownloadWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/TKDownloadWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/YMAIReplyWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/YMAIReplyWindowController.nib index cd294196..c58fc4ee 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/YMAIReplyWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Resources/YMAIReplyWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/Base.lproj/TKRemoteControlWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/Base.lproj/TKRemoteControlWindowController.nib index 896bb3b0..aa394e51 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/Base.lproj/TKRemoteControlWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/Base.lproj/TKRemoteControlWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/Info.plist b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/Info.plist index 8cae0baf..4c81b34b 100644 --- a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/Info.plist +++ b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 18E226 + 19D76 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.4.2 + 2.4.3 CFBundleSupportedPlatforms MacOSX @@ -27,17 +27,17 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 11B500 + 11C504 DTPlatformVersion GM DTSDKBuild - 19B89 + 19B90 DTSDKName macosx10.15 DTXcode - 1120 + 1130 DTXcodeBuild - 11B500 + 11C504 LSMinimumSystemVersion 10.10 NSHumanReadableCopyright @@ -45,6 +45,6 @@ showUpdateWindow versionInfo - v2.4.2(2020-03-17):\n👉🏻 增加黑夜模式 \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身\n👉🏻 聊天框多选删除闪退BUG\n👉🏻 Alfred头像Bug\n👉🏻 优化适配英文系统\n👉🏻 修复2.3.26疯狂闪退 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n + v2.4.3(2020-03-17):\n👉🏻 优化黑夜模式. \n👉🏻 增加黑夜模式. \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身\n👉🏻 聊天框多选删除闪退BUG\n👉🏻 Alfred头像Bug\n👉🏻 优化适配英文系统\n👉🏻 修复2.3.26疯狂闪退 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/TKAboutWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/TKAboutWindowController.nib index 74f16afa..e3fafa2f 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/TKAboutWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/TKAboutWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/TKAutoReplyWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/TKAutoReplyWindowController.nib index 324cdaac..fd0fa2e0 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/TKAutoReplyWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/TKAutoReplyWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/TKDownloadWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/TKDownloadWindowController.nib index 5ef31c4c..05442edc 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/TKDownloadWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/TKDownloadWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/YMAIReplyWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/YMAIReplyWindowController.nib index cd294196..c58fc4ee 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/YMAIReplyWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/Resources/YMAIReplyWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/WeChatExtension b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/WeChatExtension index 8f5cc2aa..e0e5c845 100755 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/WeChatExtension and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/WeChatExtension differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/_CodeSignature/CodeResources b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/_CodeSignature/CodeResources index 0d634b98..06d0c4f1 100644 --- a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/_CodeSignature/CodeResources +++ b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/A/_CodeSignature/CodeResources @@ -6,11 +6,11 @@ Resources/Base.lproj/TKRemoteControlWindowController.nib - rdhi3VuGJoOcZYFzrjQyqGX5LIE= + Ki7lDmrOvkHPG1/+x6dzbOKORPI= Resources/Info.plist - iG087UBDvu7OsudjIe8+yfju8a8= + 1pp3RSosCCeR7UNz57so2QCzRVM= Resources/LockPlist.plist @@ -18,15 +18,15 @@ Resources/TKAboutWindowController.nib - LmfcrMtb2nOn/Vo/RkKMgJx3pK0= + fgDj7u3fwXMYT9ogidCZaVh/gpY= Resources/TKAutoReplyWindowController.nib - qT5ekQukoj1yfsf4vGIi5jCcYlE= + i96XsAbpQ3eqmy1Oz+PvLEr6hYY= Resources/TKDownloadWindowController.nib - s1htUP/ay1JDihZTnrhO3zRvO0U= + oo0lpIAN8WaeC4a00EmvYgfy/N8= Resources/TKRemoteControlCommands.plist @@ -38,7 +38,7 @@ Resources/YMAIReplyWindowController.nib - 2joTv6aYLuYHaiLwz1Z5IbecD/E= + rVy/Y494rHaE/QJDJBZPgYUKhw4= Resources/aliPayCode.png @@ -53,15 +53,6 @@ optional - Resources/en-GB.lproj/TKAboutWindowController.strings - - hash - - En5kI5Kwuj0ECtiYhxSiHWJ1qnc= - - optional - - Resources/en-GB.lproj/TKRemoteControlWindowController.strings hash @@ -80,15 +71,6 @@ optional - Resources/en.lproj/TKAboutWindowController.strings - - hash - - En5kI5Kwuj0ECtiYhxSiHWJ1qnc= - - optional - - Resources/en.lproj/TKRemoteControlWindowController.strings hash @@ -111,15 +93,6 @@ optional - Resources/zh-Hans.lproj/TKAboutWindowController.strings - - hash - - IMUqcFi8mFK9fnIiaLOGc8AMv5k= - - optional - - Resources/zh-Hans.lproj/TKRemoteControlWindowController.strings hash @@ -138,15 +111,6 @@ optional - Resources/zh-Hant.lproj/TKAboutWindowController.strings - - hash - - IMUqcFi8mFK9fnIiaLOGc8AMv5k= - - optional - - Resources/zh-Hant.lproj/TKRemoteControlWindowController.strings hash @@ -163,22 +127,22 @@ hash - rdhi3VuGJoOcZYFzrjQyqGX5LIE= + Ki7lDmrOvkHPG1/+x6dzbOKORPI= hash2 - kXBnXkyYIJOD7pwzNHvkRqXBQSgwThhraaV+Y9guWfE= + LpHLq0th3xjxO7+eBvNrIzOW6WsTNq09mvBmpnuAKgM= Resources/Info.plist hash - iG087UBDvu7OsudjIe8+yfju8a8= + 1pp3RSosCCeR7UNz57so2QCzRVM= hash2 - FvvfYW2hCJaznOMgh1/mI+/O50yZCjLBoDD0bGw6T4A= + aUqiMHHa7fcCyakkLuBrP0DNisR5qTbuxYZX/JORiCY= Resources/LockPlist.plist @@ -196,33 +160,33 @@ hash - LmfcrMtb2nOn/Vo/RkKMgJx3pK0= + fgDj7u3fwXMYT9ogidCZaVh/gpY= hash2 - hIRh0XmB25eL3Pktl/6hkQ+yAXpke4bPiPoCDdZuhQY= + 2fJmcCDrjFnX52cp7TRpola6Ws+faQsopEJX6BC0Ox0= Resources/TKAutoReplyWindowController.nib hash - qT5ekQukoj1yfsf4vGIi5jCcYlE= + i96XsAbpQ3eqmy1Oz+PvLEr6hYY= hash2 - iFvxXJyq98E3/eJId6XjR17ms7UjDrQjV75FFiESzIE= + kzcBQpqAcwsLmYEHYaQQ1NcZtD66z4a5l+u6oEfLwp8= Resources/TKDownloadWindowController.nib hash - s1htUP/ay1JDihZTnrhO3zRvO0U= + oo0lpIAN8WaeC4a00EmvYgfy/N8= hash2 - 83y/mgVcYCZlGnDZSU+MIw+3bUG2Xzqj1RQN/qgiUJ4= + OKvrN0u2hRwJ1R4g5hc70Ksu5t8pUVRvN37lXG88myM= Resources/TKRemoteControlCommands.plist @@ -251,11 +215,11 @@ hash - 2joTv6aYLuYHaiLwz1Z5IbecD/E= + rVy/Y494rHaE/QJDJBZPgYUKhw4= hash2 - Kak+V0nnUxeMCt5m9BK0WgVo2zJ5yQMD55TtpMmuOM0= + hy+TOL4YLna1CuQ8diDAWD/KD10cGZaxhIBszLlSuMQ= Resources/aliPayCode.png @@ -282,19 +246,6 @@ optional - Resources/en-GB.lproj/TKAboutWindowController.strings - - hash - - En5kI5Kwuj0ECtiYhxSiHWJ1qnc= - - hash2 - - A/l7xX41GpZ1U7PRPvb+MvAJGksaE7Ol/4q/zClRZ6I= - - optional - - Resources/en-GB.lproj/TKRemoteControlWindowController.strings hash @@ -321,19 +272,6 @@ optional - Resources/en.lproj/TKAboutWindowController.strings - - hash - - En5kI5Kwuj0ECtiYhxSiHWJ1qnc= - - hash2 - - A/l7xX41GpZ1U7PRPvb+MvAJGksaE7Ol/4q/zClRZ6I= - - optional - - Resources/en.lproj/TKRemoteControlWindowController.strings hash @@ -371,19 +309,6 @@ optional - Resources/zh-Hans.lproj/TKAboutWindowController.strings - - hash - - IMUqcFi8mFK9fnIiaLOGc8AMv5k= - - hash2 - - 5BWii4xd5oucPRR3kmDLRV0TzeqLkJwbpPvQFOD2Qag= - - optional - - Resources/zh-Hans.lproj/TKRemoteControlWindowController.strings hash @@ -410,19 +335,6 @@ optional - Resources/zh-Hant.lproj/TKAboutWindowController.strings - - hash - - IMUqcFi8mFK9fnIiaLOGc8AMv5k= - - hash2 - - 5BWii4xd5oucPRR3kmDLRV0TzeqLkJwbpPvQFOD2Qag= - - optional - - Resources/zh-Hant.lproj/TKRemoteControlWindowController.strings hash diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/Base.lproj/TKRemoteControlWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/Base.lproj/TKRemoteControlWindowController.nib index 896bb3b0..aa394e51 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/Base.lproj/TKRemoteControlWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/Base.lproj/TKRemoteControlWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/Info.plist b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/Info.plist index 8cae0baf..4c81b34b 100644 --- a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/Info.plist +++ b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 18E226 + 19D76 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,7 +17,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.4.2 + 2.4.3 CFBundleSupportedPlatforms MacOSX @@ -27,17 +27,17 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 11B500 + 11C504 DTPlatformVersion GM DTSDKBuild - 19B89 + 19B90 DTSDKName macosx10.15 DTXcode - 1120 + 1130 DTXcodeBuild - 11B500 + 11C504 LSMinimumSystemVersion 10.10 NSHumanReadableCopyright @@ -45,6 +45,6 @@ showUpdateWindow versionInfo - v2.4.2(2020-03-17):\n👉🏻 增加黑夜模式 \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身\n👉🏻 聊天框多选删除闪退BUG\n👉🏻 Alfred头像Bug\n👉🏻 优化适配英文系统\n👉🏻 修复2.3.26疯狂闪退 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n + v2.4.3(2020-03-17):\n👉🏻 优化黑夜模式. \n👉🏻 增加黑夜模式. \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身\n👉🏻 聊天框多选删除闪退BUG\n👉🏻 Alfred头像Bug\n👉🏻 优化适配英文系统\n👉🏻 修复2.3.26疯狂闪退 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/TKAboutWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/TKAboutWindowController.nib index 74f16afa..e3fafa2f 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/TKAboutWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/TKAboutWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/TKAutoReplyWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/TKAutoReplyWindowController.nib index 324cdaac..fd0fa2e0 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/TKAutoReplyWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/TKAutoReplyWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/TKDownloadWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/TKDownloadWindowController.nib index 5ef31c4c..05442edc 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/TKDownloadWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/TKDownloadWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/YMAIReplyWindowController.nib b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/YMAIReplyWindowController.nib index cd294196..c58fc4ee 100644 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/YMAIReplyWindowController.nib and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/Resources/YMAIReplyWindowController.nib differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/WeChatExtension b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/WeChatExtension index 8f5cc2aa..e0e5c845 100755 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/WeChatExtension and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/WeChatExtension differ diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/_CodeSignature/CodeResources b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/_CodeSignature/CodeResources index 0d634b98..06d0c4f1 100644 --- a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/_CodeSignature/CodeResources +++ b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/Versions/Current/_CodeSignature/CodeResources @@ -6,11 +6,11 @@ Resources/Base.lproj/TKRemoteControlWindowController.nib - rdhi3VuGJoOcZYFzrjQyqGX5LIE= + Ki7lDmrOvkHPG1/+x6dzbOKORPI= Resources/Info.plist - iG087UBDvu7OsudjIe8+yfju8a8= + 1pp3RSosCCeR7UNz57so2QCzRVM= Resources/LockPlist.plist @@ -18,15 +18,15 @@ Resources/TKAboutWindowController.nib - LmfcrMtb2nOn/Vo/RkKMgJx3pK0= + fgDj7u3fwXMYT9ogidCZaVh/gpY= Resources/TKAutoReplyWindowController.nib - qT5ekQukoj1yfsf4vGIi5jCcYlE= + i96XsAbpQ3eqmy1Oz+PvLEr6hYY= Resources/TKDownloadWindowController.nib - s1htUP/ay1JDihZTnrhO3zRvO0U= + oo0lpIAN8WaeC4a00EmvYgfy/N8= Resources/TKRemoteControlCommands.plist @@ -38,7 +38,7 @@ Resources/YMAIReplyWindowController.nib - 2joTv6aYLuYHaiLwz1Z5IbecD/E= + rVy/Y494rHaE/QJDJBZPgYUKhw4= Resources/aliPayCode.png @@ -53,15 +53,6 @@ optional - Resources/en-GB.lproj/TKAboutWindowController.strings - - hash - - En5kI5Kwuj0ECtiYhxSiHWJ1qnc= - - optional - - Resources/en-GB.lproj/TKRemoteControlWindowController.strings hash @@ -80,15 +71,6 @@ optional - Resources/en.lproj/TKAboutWindowController.strings - - hash - - En5kI5Kwuj0ECtiYhxSiHWJ1qnc= - - optional - - Resources/en.lproj/TKRemoteControlWindowController.strings hash @@ -111,15 +93,6 @@ optional - Resources/zh-Hans.lproj/TKAboutWindowController.strings - - hash - - IMUqcFi8mFK9fnIiaLOGc8AMv5k= - - optional - - Resources/zh-Hans.lproj/TKRemoteControlWindowController.strings hash @@ -138,15 +111,6 @@ optional - Resources/zh-Hant.lproj/TKAboutWindowController.strings - - hash - - IMUqcFi8mFK9fnIiaLOGc8AMv5k= - - optional - - Resources/zh-Hant.lproj/TKRemoteControlWindowController.strings hash @@ -163,22 +127,22 @@ hash - rdhi3VuGJoOcZYFzrjQyqGX5LIE= + Ki7lDmrOvkHPG1/+x6dzbOKORPI= hash2 - kXBnXkyYIJOD7pwzNHvkRqXBQSgwThhraaV+Y9guWfE= + LpHLq0th3xjxO7+eBvNrIzOW6WsTNq09mvBmpnuAKgM= Resources/Info.plist hash - iG087UBDvu7OsudjIe8+yfju8a8= + 1pp3RSosCCeR7UNz57so2QCzRVM= hash2 - FvvfYW2hCJaznOMgh1/mI+/O50yZCjLBoDD0bGw6T4A= + aUqiMHHa7fcCyakkLuBrP0DNisR5qTbuxYZX/JORiCY= Resources/LockPlist.plist @@ -196,33 +160,33 @@ hash - LmfcrMtb2nOn/Vo/RkKMgJx3pK0= + fgDj7u3fwXMYT9ogidCZaVh/gpY= hash2 - hIRh0XmB25eL3Pktl/6hkQ+yAXpke4bPiPoCDdZuhQY= + 2fJmcCDrjFnX52cp7TRpola6Ws+faQsopEJX6BC0Ox0= Resources/TKAutoReplyWindowController.nib hash - qT5ekQukoj1yfsf4vGIi5jCcYlE= + i96XsAbpQ3eqmy1Oz+PvLEr6hYY= hash2 - iFvxXJyq98E3/eJId6XjR17ms7UjDrQjV75FFiESzIE= + kzcBQpqAcwsLmYEHYaQQ1NcZtD66z4a5l+u6oEfLwp8= Resources/TKDownloadWindowController.nib hash - s1htUP/ay1JDihZTnrhO3zRvO0U= + oo0lpIAN8WaeC4a00EmvYgfy/N8= hash2 - 83y/mgVcYCZlGnDZSU+MIw+3bUG2Xzqj1RQN/qgiUJ4= + OKvrN0u2hRwJ1R4g5hc70Ksu5t8pUVRvN37lXG88myM= Resources/TKRemoteControlCommands.plist @@ -251,11 +215,11 @@ hash - 2joTv6aYLuYHaiLwz1Z5IbecD/E= + rVy/Y494rHaE/QJDJBZPgYUKhw4= hash2 - Kak+V0nnUxeMCt5m9BK0WgVo2zJ5yQMD55TtpMmuOM0= + hy+TOL4YLna1CuQ8diDAWD/KD10cGZaxhIBszLlSuMQ= Resources/aliPayCode.png @@ -282,19 +246,6 @@ optional - Resources/en-GB.lproj/TKAboutWindowController.strings - - hash - - En5kI5Kwuj0ECtiYhxSiHWJ1qnc= - - hash2 - - A/l7xX41GpZ1U7PRPvb+MvAJGksaE7Ol/4q/zClRZ6I= - - optional - - Resources/en-GB.lproj/TKRemoteControlWindowController.strings hash @@ -321,19 +272,6 @@ optional - Resources/en.lproj/TKAboutWindowController.strings - - hash - - En5kI5Kwuj0ECtiYhxSiHWJ1qnc= - - hash2 - - A/l7xX41GpZ1U7PRPvb+MvAJGksaE7Ol/4q/zClRZ6I= - - optional - - Resources/en.lproj/TKRemoteControlWindowController.strings hash @@ -371,19 +309,6 @@ optional - Resources/zh-Hans.lproj/TKAboutWindowController.strings - - hash - - IMUqcFi8mFK9fnIiaLOGc8AMv5k= - - hash2 - - 5BWii4xd5oucPRR3kmDLRV0TzeqLkJwbpPvQFOD2Qag= - - optional - - Resources/zh-Hans.lproj/TKRemoteControlWindowController.strings hash @@ -410,19 +335,6 @@ optional - Resources/zh-Hant.lproj/TKAboutWindowController.strings - - hash - - IMUqcFi8mFK9fnIiaLOGc8AMv5k= - - hash2 - - 5BWii4xd5oucPRR3kmDLRV0TzeqLkJwbpPvQFOD2Qag= - - optional - - Resources/zh-Hant.lproj/TKRemoteControlWindowController.strings hash diff --git a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/WeChatExtension b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/WeChatExtension index 8f5cc2aa..e0e5c845 100755 Binary files a/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/WeChatExtension and b/WeChatExtension/Rely/Plugin/WeChatExtension/WeChatExtension.framework/WeChatExtension differ diff --git a/WeChatExtension/WeChatExtension.xcodeproj/project.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate b/WeChatExtension/WeChatExtension.xcodeproj/project.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate index ff03f46f..ae188170 100644 Binary files a/WeChatExtension/WeChatExtension.xcodeproj/project.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate and b/WeChatExtension/WeChatExtension.xcodeproj/project.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/WeChatExtension/WeChatExtension.xcodeproj/xcuserdata/apple.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/WeChatExtension/WeChatExtension.xcodeproj/xcuserdata/apple.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index 5c94b1f9..9d8e69bf 100644 --- a/WeChatExtension/WeChatExtension.xcodeproj/xcuserdata/apple.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/WeChatExtension/WeChatExtension.xcodeproj/xcuserdata/apple.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -3,17 +3,4 @@ uuid = "CE9E3D58-558F-45F6-AEE9-2F9F0F034529" type = "1" version = "2.0"> - - - - - - diff --git a/WeChatExtension/WeChatExtension/Base.lproj/Info.plist b/WeChatExtension/WeChatExtension/Base.lproj/Info.plist index 9153b3ec..908f033c 100644 --- a/WeChatExtension/WeChatExtension/Base.lproj/Info.plist +++ b/WeChatExtension/WeChatExtension/Base.lproj/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.4.2 + 2.4.3 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSHumanReadableCopyright @@ -25,6 +25,6 @@ showUpdateWindow versionInfo - v2.4.2(2020-03-17):\n👉🏻 增加黑夜模式 \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身\n👉🏻 聊天框多选删除闪退BUG\n👉🏻 Alfred头像Bug\n👉🏻 优化适配英文系统\n👉🏻 修复2.3.26疯狂闪退 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n + v2.4.3(2020-03-17):\n👉🏻 优化黑夜模式. \n👉🏻 增加黑夜模式. \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身\n👉🏻 聊天框多选删除闪退BUG\n👉🏻 Alfred头像Bug\n👉🏻 优化适配英文系统\n👉🏻 修复2.3.26疯狂闪退 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n diff --git a/WeChatExtension/WeChatExtension/Sources/Hook/WeChat+hook.m b/WeChatExtension/WeChatExtension/Sources/Hook/WeChat+hook.m index 3d38b8d4..1af240ca 100755 --- a/WeChatExtension/WeChatExtension/Sources/Hook/WeChat+hook.m +++ b/WeChatExtension/WeChatExtension/Sources/Hook/WeChat+hook.m @@ -29,6 +29,7 @@ #import #import +#import @implementation NSObject (WeChatHook) @@ -106,20 +107,106 @@ + (void)hookWeChat { if ([TKWeChatPluginConfig sharedConfig].darkMode) { + hookMethod(objc_getClass("MMTextField"), @selector(setTextColor:), [self class], @selector(hook_setTextColor:)); hookMethod(objc_getClass("NSView"), @selector(addSubview:), [self class], @selector(hook_initWithFrame:)); hookMethod(objc_getClass("MMComposeInputViewController"), @selector(viewDidLoad), [self class], @selector(hook_ComposeInputViewControllerViewDidLoad)); hookMethod(objc_getClass("MMChatMessageViewController"), @selector(viewDidLoad), [self class], @selector(hook_ChatMessageViewControllerViewDidLoad)); hookMethod(objc_getClass("NSScrollView"), @selector(initWithFrame:), [self class], @selector(hook_scrollViewInitWithFrame:)); - hookMethod(objc_getClass("MMChatsTableCellView"), @selector(initWithFrame:), [self class], @selector(cellhook_initWithFrame:)); - hookMethod(objc_getClass("MMTextField"), @selector(setTextColor:), [self class], @selector(hook_setTextColor:)); hookMethod(objc_getClass("MMSidebarRowView"), @selector(initWithFrame:), [self class], @selector(hook_sideBarViewInitWithFrame:)); hookMethod(objc_getClass("MMLoginWaitingConfirmViewController"), @selector(viewDidLoad:), [self class], @selector(hook_loginWaitingViewDidLoad)); hookMethod(objc_getClass("MMLoginQRCodeViewController"), @selector(viewDidLoad), [self class], @selector(hook_QRCodeViewDidLoad)); // hookMethod(objc_getClass("MMTextField"), @selector(setAttributedStringValue:), [self class], @selector(hook_setAttributedStringValue:)); hookMethod(objc_getClass("MMChatsTableCellView"), @selector(updateNickname), [self class], @selector(hook_updateNickName)); + hookMethod(objc_getClass("NSWindowController"), @selector(windowDidLoad), [self class], @selector(hook_windowDidLoad)); + hookMethod(objc_getClass("MMFileListViewController"), @selector(viewDidLoad), [self class], @selector(hook_fileListViewDidLoad)); + hookMethod(objc_getClass("MMPreferencesWindowController"), @selector(windowDidLoad), [self class], @selector(hook_preferencesWindowDidLoad)); + hookMethod(objc_getClass("MMPreferencesShortcutController"), @selector(viewDidLoad), [self class], @selector(hook_preferencesShortcuViewDidLoad)); + hookMethod(objc_getClass("MMPreferencesNotificationController"), @selector(viewDidLoad), [self class], @selector(hook_preferencesNotificationViewDidLoad)); + hookMethod(objc_getClass("MMChatMemberListViewController"), @selector(viewDidLoad), [self class], @selector(hook_memberListViewDidLoad)); + hookMethod(objc_getClass("MMContactProfileController"), @selector(viewDidLoad), [self class], @selector(hook_profileViewDidLoad)); + hookMethod(objc_getClass("MMChatsTableCellView"), @selector(mouseDown:), [self class], @selector(hook_mouseDown:)); + } +} + +- (void)hook_mouseDown:(id)arg1 +{ + [self hook_mouseDown:arg1]; + MMChatsTableCellView *cell = (MMChatsTableCellView *)self; + + NSColor *highColor = nil; + if (cell.selected) { + highColor = kRGBColor(147, 148, 248, 0.5); + } else { + highColor = [NSColor clearColor]; + } + cell.layer.backgroundColor = highColor.CGColor; + [cell setNeedsDisplay:YES]; + dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ + cell.layer.backgroundColor = [NSColor clearColor].CGColor; + [cell setNeedsDisplay:YES]; + }); +} + +- (void)hook_profileViewDidLoad +{ + [self hook_profileViewDidLoad]; + MMContactProfileController *profileVC = (MMContactProfileController *)self; + [[YMThemeMgr shareInstance] changeTheme:profileVC.view]; +} + +- (void)hook_memberListViewDidLoad +{ + [self hook_memberListViewDidLoad]; + MMChatMemberListViewController *memberListVC = (MMChatMemberListViewController *)self; + for (NSView *sub in memberListVC.view.subviews) { + for (NSView *effect in sub.subviews) { + if ([effect isKindOfClass:NSVisualEffectView.class]) { + for (NSView *effectSub in effect.subviews) { + [[YMThemeMgr shareInstance] changeTheme:effectSub]; + } + break; + } + } } } +- (void)hook_preferencesShortcuViewDidLoad +{ + [self hook_preferencesShortcuViewDidLoad]; + MMPreferencesShortcutController *fileListVC = (MMPreferencesShortcutController *)self; + [[YMThemeMgr shareInstance] changeTheme:fileListVC.view]; +} + +- (void)hook_preferencesNotificationViewDidLoad +{ + [self hook_preferencesNotificationViewDidLoad]; + MMPreferencesNotificationController *fileListVC = (MMPreferencesNotificationController *)self; + [[YMThemeMgr shareInstance] changeTheme:fileListVC.view]; +} + +- (void)hook_preferencesWindowDidLoad +{ + [self hook_preferencesWindowDidLoad]; + MMPreferencesWindowController *window = (MMPreferencesWindowController *)self; + dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ + [[YMThemeMgr shareInstance] changeTheme:window.window.contentView]; + }); +} + +- (void)hook_fileListViewDidLoad +{ + [self hook_fileListViewDidLoad]; + MMFileListViewController *fileListVC = (MMFileListViewController *)self; + [[YMThemeMgr shareInstance] changeTheme:fileListVC.view]; +} + +- (void)hook_windowDidLoad +{ + [self hook_windowDidLoad]; + NSWindowController *window = (NSWindowController *)self; + [[YMThemeMgr shareInstance] changeTheme:window.window.contentView]; +} + - (void)hook_updateNickName { [self hook_updateNickName]; @@ -191,12 +278,8 @@ - (void)hook_setTextColor:(NSColor *)arg1 { arg1 = kRGBColor(162, 182, 203, 1.0); [self hook_setTextColor:arg1]; -} - -- (id)cellhook_initWithFrame:(struct CGRect)arg1 -{ - - return [self cellhook_initWithFrame:arg1]; + MMTextField *textField = (MMTextField *)self; + textField.backgroundColor = kRGBColor(61, 62, 60, 1); } - (instancetype)hook_sideBarViewInitWithFrame:(NSRect)frameRect { @@ -296,7 +379,14 @@ - (void)hook_initWithFrame:(NSView *)view { [[YMThemeMgr shareInstance] changeTheme:view]; } - + + if ([view isKindOfClass:[objc_getClass("NewNoteContentView") class]]) { + [[YMThemeMgr shareInstance] changeTheme:view]; + } + +// if ([view isKindOfClass:[objc_getClass("MMView") class]]) { +// [[YMThemeMgr shareInstance] changeTheme:view]; +// } } //主控制器的生命周期 diff --git a/WeChatExtension/WeChatExtension/WeChatPlugin.h b/WeChatExtension/WeChatExtension/WeChatPlugin.h index 21a5bf94..d3d3efc1 100755 --- a/WeChatExtension/WeChatExtension/WeChatPlugin.h +++ b/WeChatExtension/WeChatExtension/WeChatPlugin.h @@ -710,6 +710,9 @@ forHTTPHeaderField:(NSString *)field; - (void)tableView:(NSTableView *)arg1 rowGotMouseDown:(long long)arg2; - (id)initWithFrame:(struct CGRect)arg1; - (id)nicknameAttributedStringWithString:(id)arg1; + +- (void)drawSelectionBackground; +- (void)updateSelectionBackground; @end @interface CmdItem : NSObject @@ -732,3 +735,32 @@ forHTTPHeaderField:(NSString *)field; @interface MMLoginWaitingConfirmViewController : NSViewController @end + +@interface MMFileListViewController : NSViewController + +@end + +@interface MMPreferencesWindowController : NSWindowController + +@end + + +@interface MMChatBackupBaseWindowController : NSWindowController +@property (nonatomic, strong) NSTitlebarAccessoryViewController * titlebarController; +@end + +@interface MMPreferencesShortcutController : NSViewController + +@end + +@interface MMPreferencesNotificationController : NSViewController + +@end + +@interface MMChatMemberListViewController : NSViewController + +@end + +@interface MMContactProfileController : NSViewController + +@end