diff --git a/CHANGELOG.md b/CHANGELOG.md index 078dd4bd..0a1aba2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # 更新日志 + +### [v1.3.0 (2017-09-17)](https://github.com/TKkk-iOSer/WeChatPlugin-MacOS/releases/tag/v1.3.0) + +* 新增最近联系人置底功能 +* 新增免认证登录 + +### [v1.2.0 (2017-09-11)](https://github.com/TKkk-iOSer/WeChatPlugin-MacOS/releases/tag/v1.2.0) + +* 自动回复新增 正则匹配 & 私聊开关 +* 修复聊天记录消失 & `~/Documents` 生成MMappedKV、JietuSDKStat.plist 文件 + + ### [v1.1.0 (2017-08-23)](https://github.com/TKkk-iOSer/WeChatPlugin-MacOS/releases/tag/v1.1.0) * 重构 自动回复,实现多回复 diff --git a/Other/Products/Debug/WeChatPlugin.framework/Headers b/Other/Products/Debug/WeChatPlugin.framework/Headers new file mode 120000 index 00000000..a177d2a6 --- /dev/null +++ b/Other/Products/Debug/WeChatPlugin.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/Other/Products/Debug/WeChatPlugin.framework/Headers/WeChatPlugin.h b/Other/Products/Debug/WeChatPlugin.framework/Headers/WeChatPlugin.h deleted file mode 100644 index ce75d865..00000000 --- a/Other/Products/Debug/WeChatPlugin.framework/Headers/WeChatPlugin.h +++ /dev/null @@ -1,155 +0,0 @@ -// -// WeChatPlugin.h -// WeChatPlugin -// -// Created by TK on 2017/4/19. -// Copyright © 2017年 tk. All rights reserved. -// - -#import -#import "TKWeChatPluginConfig.h" -#import "TKHelper.h" - -FOUNDATION_EXPORT double WeChatPluginVersionNumber; -FOUNDATION_EXPORT const unsigned char WeChatPluginVersionString[]; - -#pragma mark - 微信原始的部分类与方法 - -@interface MMLoginOneClickViewController : NSObject -@property(nonatomic) NSTextField *descriptionLabel; -- (void)onLoginButtonClicked:(id)arg1; -@property(nonatomic) NSButton *loginButton; -@end - -@interface AccountService : NSObject -- (id)GetLastLoginUserName; -- (id)GetLastLoginAutoAuthKey; -- (BOOL)canAutoAuth; -- (void)AutoAuth; -- (void)ManualLogin:(id)arg1 withPassword:(id)arg2; -- (void)ManualLogout; -- (void)QRCodeLoginWithUserName:(id)arg1 password:(id)arg2; -@end - -@interface MMLoginViewController : NSObject -@property(retain, nonatomic) MMLoginOneClickViewController *oneClickViewController; -@end - -@interface MMMainWindowController : NSObject -@property(retain, nonatomic) MMLoginViewController *loginViewController; -- (void)onAuthOK; -- (void)onLogOut; -@end - -@interface MessageService : NSObject -- (void)onRevokeMsg:(id)arg1; -- (void)OnSyncBatchAddMsgs:(NSArray *)arg1 isFirstSync:(BOOL)arg2; -- (id)SendTextMessage:(id)arg1 toUsrName:(id)arg2 msgText:(id)arg3 atUserList:(id)arg4; -- (id)GetMsgData:(id)arg1 svrId:(long)arg2; -- (void)AddLocalMsg:(id)arg1 msgData:(id)arg2; -@end - -@interface MMServiceCenter : NSObject -+ (id)defaultCenter; -- (id)getService:(Class)arg1; -@end - -@interface SKBuiltinString_t : NSObject -@property(retain, nonatomic, setter=SetString:) NSString *string; // @synthesize string; -@end - -@interface AddMsg : NSObject -@property(retain, nonatomic, setter=SetContent:) SKBuiltinString_t *content; // @synthesize content; -@property(retain, nonatomic, setter=SetFromUserName:) SKBuiltinString_t *fromUserName; // @synthesize fromUserName; -@property(nonatomic, setter=SetMsgType:) int msgType; // @synthesize msgType; -@property(retain, nonatomic, setter=SetToUserName:) SKBuiltinString_t *toUserName; // @synthesize toUserName; -@property (nonatomic, assign) unsigned int createTime; -@end - -@interface MMChatsViewController : NSViewController -@property(nonatomic) __weak NSTableView *tableView; -@end - -@interface WeChat : NSObject -+ (id)sharedInstance; -@property(nonatomic) MMChatsViewController *chatsViewController; -@property(retain, nonatomic) MMMainWindowController *mainWindowController; -@property(nonatomic) BOOL isAppTerminating; -@end - -@interface ContactStorage : NSObject -- (id)GetSelfContact; -- (id)GetContact:(id)arg1; -@end - -@interface WCContactData : NSObject -@property(retain, nonatomic) NSString *m_nsUsrName; // @synthesize m_nsUsrName; -@property(nonatomic) unsigned int m_uiFriendScene; // @synthesize m_uiFriendScene; -@end - -@interface MessageData : NSObject -- (id)initWithMsgType:(long long)arg1; -@property(retain, nonatomic) NSString *fromUsrName; -@property(retain, nonatomic) NSString *toUsrName; -@property(retain, nonatomic) NSString *msgContent; -@property(retain, nonatomic) NSString *msgPushContent; -@property(nonatomic) int messageType; -@property(nonatomic) int msgStatus; -@property(nonatomic) int msgCreateTime; -@property(nonatomic) int mesLocalID; -@end - -@interface CUtility : NSObject -+ (BOOL)HasWechatInstance; -+ (unsigned long long)getFreeDiskSpace; -+ (void)ReloadSessionForMsgSync; -+ (id)GetCurrentUserName; -@end - -@interface MMSessionInfo : NSObject -@property(nonatomic) BOOL m_bIsTop; // @synthesize m_bIsTop; -@property(nonatomic) BOOL m_bShowUnReadAsRedDot; -@property(nonatomic) BOOL m_isMentionedUnread; // @synthesize -@property(retain, nonatomic) NSString *m_nsUserName; // @synthesize m_nsUserName; -@end - - -@protocol MMChatsTableCellViewDelegate -@optional -- (void)cellViewReloadData:(MMSessionInfo *)arg1; -@end - -@interface MMChatsTableCellView : NSTableCellView -@property(nonatomic) __weak id delegate; -@property(retain, nonatomic) MMSessionInfo *sessionInfo; -- (void)menuWillOpen:(id)arg1; -- (void)contextMenuSticky; -@end - -@interface MMSessionMgr : NSObject -@property(retain, nonatomic) NSMutableArray *m_arrSession; -- (void)MuteSessionByUserName:(id)arg1; -//- (void)TopSessionByUserName:(id)arg1; -- (void)UnmuteSessionByUserName:(id)arg1; -- (void)UntopSessionByUserName:(id)arg1; -- (void)sortSessions; -@end - -@interface LogoutCGI : NSTableCellView -- (void)sendLogoutCGIWithCompletion:(id)arg1; -@end - -#pragma mark - 调用 NSSearchPathForDirectoriesInDomains 的一些方法 -@interface PathUtility : NSObject -+ (id)getSysCachePath; -+ (id)getSysDocumentPath; -+ (id)getSysLibraryPath; -@end - -@interface MemoryMappedKV : NSObject -+ (id)mappedKVPathWithID:(id)arg1; -@end - -@interface JTStatisticManager : NSObject -@property(retain, nonatomic) NSString *statFilePath; -@end diff --git a/Other/Products/Debug/WeChatPlugin.framework/Modules b/Other/Products/Debug/WeChatPlugin.framework/Modules new file mode 120000 index 00000000..5736f318 --- /dev/null +++ b/Other/Products/Debug/WeChatPlugin.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/Other/Products/Debug/WeChatPlugin.framework/Modules/module.modulemap b/Other/Products/Debug/WeChatPlugin.framework/Modules/module.modulemap deleted file mode 100644 index 1e785538..00000000 --- a/Other/Products/Debug/WeChatPlugin.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module WeChatPlugin { - umbrella header "WeChatPlugin.h" - - export * - module * { export * } -} diff --git a/Other/Products/Debug/WeChatPlugin.framework/Resources b/Other/Products/Debug/WeChatPlugin.framework/Resources new file mode 120000 index 00000000..953ee36f --- /dev/null +++ b/Other/Products/Debug/WeChatPlugin.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/Other/Products/Debug/WeChatPlugin.framework/Resources/Info.plist b/Other/Products/Debug/WeChatPlugin.framework/Resources/Info.plist deleted file mode 100644 index e79561e0..00000000 --- a/Other/Products/Debug/WeChatPlugin.framework/Resources/Info.plist +++ /dev/null @@ -1,44 +0,0 @@ - - - - - BuildMachineOSBuild - 16E195 - CFBundleDevelopmentRegion - en - CFBundleExecutable - WeChatPlugin - CFBundleIdentifier - tk.WeChatPlugin - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - WeChatPlugin - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 1 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 8E2002 - DTPlatformVersion - GM - DTSDKBuild - 16E185 - DTSDKName - macosx10.12 - DTXcode - 0832 - DTXcodeBuild - 8E2002 - NSHumanReadableCopyright - Copyright © 2017年 tk. All rights reserved. - - diff --git a/Other/Products/Debug/WeChatPlugin.framework/Resources/TKAutoReplyWindowController.nib b/Other/Products/Debug/WeChatPlugin.framework/Resources/TKAutoReplyWindowController.nib deleted file mode 100644 index ae319cd9..00000000 Binary files a/Other/Products/Debug/WeChatPlugin.framework/Resources/TKAutoReplyWindowController.nib and /dev/null differ diff --git a/Other/Products/Debug/WeChatPlugin.framework/Resources/TKRemoteControlCommands.plist b/Other/Products/Debug/WeChatPlugin.framework/Resources/TKRemoteControlCommands.plist deleted file mode 100644 index 23c811b2..00000000 --- a/Other/Products/Debug/WeChatPlugin.framework/Resources/TKRemoteControlCommands.plist +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - executeCommand - open /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app - keyword - TK-PMBH - function - 屏幕保护 - enable - - - - executeCommand - /System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend - keyword - TK-SP - function - 锁屏 - enable - - - - executeCommand - sleep - keyword - TK-XM - function - 休眠 - enable - - - - executeCommand - shutdown - keyword - TK-GJ - function - 关机 - enable - - - - executeCommand - restart - keyword - TK-CQ - function - 重启 - enable - - - - executeCommand - empty - keyword - TK-QK - function - 清空废纸篓 - enable - - - - - - executeCommand - killQQ - keyword - TK-QQ - function - 退出 QQ - enable - - - - executeCommand - killWeChat - keyword - TK-WeChat - function - 退出 WeChat - enable - - - - executeCommand - killChrome - keyword - TK-Chrome - function - 退出 Chrome - enable - - - - executeCommand - killSafari - keyword - TK-Safari - function - 退出 Safari - enable - - - - executeCommand - killAll - keyword - TK-All - function - 退出所有程序 - enable - - - - - - executeCommand - musicToggle - keyword - TK-Toggle - function - 播放/暂停 - enable - - - - executeCommand - musicNext - keyword - TK-Next - function - 下一首 - enable - - - - executeCommand - musicPrevious - keyword - TK-Previous - function - 上一首 - enable - - - - executeCommand - musicVolumeUp - keyword - TK-VolumeUp - function - 增大音量 - enable - - - - executeCommand - musicVolumeDown - keyword - TK-VolumeDown - function - 减小音量 - enable - - - - executeCommand - musicLike - keyword - TK-Like - function - 喜欢/取消喜欢 - enable - - - - - diff --git a/Other/Products/Debug/WeChatPlugin.framework/Resources/TKRemoteControlScript.scpt b/Other/Products/Debug/WeChatPlugin.framework/Resources/TKRemoteControlScript.scpt deleted file mode 100644 index a2d8dd34..00000000 Binary files a/Other/Products/Debug/WeChatPlugin.framework/Resources/TKRemoteControlScript.scpt and /dev/null differ diff --git a/Other/Products/Debug/WeChatPlugin.framework/Resources/TKRemoteControlWindowController.nib b/Other/Products/Debug/WeChatPlugin.framework/Resources/TKRemoteControlWindowController.nib deleted file mode 100644 index 8438282d..00000000 Binary files a/Other/Products/Debug/WeChatPlugin.framework/Resources/TKRemoteControlWindowController.nib and /dev/null differ diff --git a/Other/Products/Debug/WeChatPlugin.framework/Versions/A/WeChatPlugin b/Other/Products/Debug/WeChatPlugin.framework/Versions/A/WeChatPlugin index 8f41924b..37b1fe3c 100755 Binary files a/Other/Products/Debug/WeChatPlugin.framework/Versions/A/WeChatPlugin and b/Other/Products/Debug/WeChatPlugin.framework/Versions/A/WeChatPlugin differ diff --git a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current b/Other/Products/Debug/WeChatPlugin.framework/Versions/Current new file mode 120000 index 00000000..8c7e5a66 --- /dev/null +++ b/Other/Products/Debug/WeChatPlugin.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Headers/WeChatPlugin.h b/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Headers/WeChatPlugin.h deleted file mode 100644 index ce75d865..00000000 --- a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Headers/WeChatPlugin.h +++ /dev/null @@ -1,155 +0,0 @@ -// -// WeChatPlugin.h -// WeChatPlugin -// -// Created by TK on 2017/4/19. -// Copyright © 2017年 tk. All rights reserved. -// - -#import -#import "TKWeChatPluginConfig.h" -#import "TKHelper.h" - -FOUNDATION_EXPORT double WeChatPluginVersionNumber; -FOUNDATION_EXPORT const unsigned char WeChatPluginVersionString[]; - -#pragma mark - 微信原始的部分类与方法 - -@interface MMLoginOneClickViewController : NSObject -@property(nonatomic) NSTextField *descriptionLabel; -- (void)onLoginButtonClicked:(id)arg1; -@property(nonatomic) NSButton *loginButton; -@end - -@interface AccountService : NSObject -- (id)GetLastLoginUserName; -- (id)GetLastLoginAutoAuthKey; -- (BOOL)canAutoAuth; -- (void)AutoAuth; -- (void)ManualLogin:(id)arg1 withPassword:(id)arg2; -- (void)ManualLogout; -- (void)QRCodeLoginWithUserName:(id)arg1 password:(id)arg2; -@end - -@interface MMLoginViewController : NSObject -@property(retain, nonatomic) MMLoginOneClickViewController *oneClickViewController; -@end - -@interface MMMainWindowController : NSObject -@property(retain, nonatomic) MMLoginViewController *loginViewController; -- (void)onAuthOK; -- (void)onLogOut; -@end - -@interface MessageService : NSObject -- (void)onRevokeMsg:(id)arg1; -- (void)OnSyncBatchAddMsgs:(NSArray *)arg1 isFirstSync:(BOOL)arg2; -- (id)SendTextMessage:(id)arg1 toUsrName:(id)arg2 msgText:(id)arg3 atUserList:(id)arg4; -- (id)GetMsgData:(id)arg1 svrId:(long)arg2; -- (void)AddLocalMsg:(id)arg1 msgData:(id)arg2; -@end - -@interface MMServiceCenter : NSObject -+ (id)defaultCenter; -- (id)getService:(Class)arg1; -@end - -@interface SKBuiltinString_t : NSObject -@property(retain, nonatomic, setter=SetString:) NSString *string; // @synthesize string; -@end - -@interface AddMsg : NSObject -@property(retain, nonatomic, setter=SetContent:) SKBuiltinString_t *content; // @synthesize content; -@property(retain, nonatomic, setter=SetFromUserName:) SKBuiltinString_t *fromUserName; // @synthesize fromUserName; -@property(nonatomic, setter=SetMsgType:) int msgType; // @synthesize msgType; -@property(retain, nonatomic, setter=SetToUserName:) SKBuiltinString_t *toUserName; // @synthesize toUserName; -@property (nonatomic, assign) unsigned int createTime; -@end - -@interface MMChatsViewController : NSViewController -@property(nonatomic) __weak NSTableView *tableView; -@end - -@interface WeChat : NSObject -+ (id)sharedInstance; -@property(nonatomic) MMChatsViewController *chatsViewController; -@property(retain, nonatomic) MMMainWindowController *mainWindowController; -@property(nonatomic) BOOL isAppTerminating; -@end - -@interface ContactStorage : NSObject -- (id)GetSelfContact; -- (id)GetContact:(id)arg1; -@end - -@interface WCContactData : NSObject -@property(retain, nonatomic) NSString *m_nsUsrName; // @synthesize m_nsUsrName; -@property(nonatomic) unsigned int m_uiFriendScene; // @synthesize m_uiFriendScene; -@end - -@interface MessageData : NSObject -- (id)initWithMsgType:(long long)arg1; -@property(retain, nonatomic) NSString *fromUsrName; -@property(retain, nonatomic) NSString *toUsrName; -@property(retain, nonatomic) NSString *msgContent; -@property(retain, nonatomic) NSString *msgPushContent; -@property(nonatomic) int messageType; -@property(nonatomic) int msgStatus; -@property(nonatomic) int msgCreateTime; -@property(nonatomic) int mesLocalID; -@end - -@interface CUtility : NSObject -+ (BOOL)HasWechatInstance; -+ (unsigned long long)getFreeDiskSpace; -+ (void)ReloadSessionForMsgSync; -+ (id)GetCurrentUserName; -@end - -@interface MMSessionInfo : NSObject -@property(nonatomic) BOOL m_bIsTop; // @synthesize m_bIsTop; -@property(nonatomic) BOOL m_bShowUnReadAsRedDot; -@property(nonatomic) BOOL m_isMentionedUnread; // @synthesize -@property(retain, nonatomic) NSString *m_nsUserName; // @synthesize m_nsUserName; -@end - - -@protocol MMChatsTableCellViewDelegate -@optional -- (void)cellViewReloadData:(MMSessionInfo *)arg1; -@end - -@interface MMChatsTableCellView : NSTableCellView -@property(nonatomic) __weak id delegate; -@property(retain, nonatomic) MMSessionInfo *sessionInfo; -- (void)menuWillOpen:(id)arg1; -- (void)contextMenuSticky; -@end - -@interface MMSessionMgr : NSObject -@property(retain, nonatomic) NSMutableArray *m_arrSession; -- (void)MuteSessionByUserName:(id)arg1; -//- (void)TopSessionByUserName:(id)arg1; -- (void)UnmuteSessionByUserName:(id)arg1; -- (void)UntopSessionByUserName:(id)arg1; -- (void)sortSessions; -@end - -@interface LogoutCGI : NSTableCellView -- (void)sendLogoutCGIWithCompletion:(id)arg1; -@end - -#pragma mark - 调用 NSSearchPathForDirectoriesInDomains 的一些方法 -@interface PathUtility : NSObject -+ (id)getSysCachePath; -+ (id)getSysDocumentPath; -+ (id)getSysLibraryPath; -@end - -@interface MemoryMappedKV : NSObject -+ (id)mappedKVPathWithID:(id)arg1; -@end - -@interface JTStatisticManager : NSObject -@property(retain, nonatomic) NSString *statFilePath; -@end diff --git a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Modules/module.modulemap b/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Modules/module.modulemap deleted file mode 100644 index 1e785538..00000000 --- a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module WeChatPlugin { - umbrella header "WeChatPlugin.h" - - export * - module * { export * } -} diff --git a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/Info.plist b/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/Info.plist deleted file mode 100644 index e79561e0..00000000 --- a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/Info.plist +++ /dev/null @@ -1,44 +0,0 @@ - - - - - BuildMachineOSBuild - 16E195 - CFBundleDevelopmentRegion - en - CFBundleExecutable - WeChatPlugin - CFBundleIdentifier - tk.WeChatPlugin - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - WeChatPlugin - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 1 - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 8E2002 - DTPlatformVersion - GM - DTSDKBuild - 16E185 - DTSDKName - macosx10.12 - DTXcode - 0832 - DTXcodeBuild - 8E2002 - NSHumanReadableCopyright - Copyright © 2017年 tk. All rights reserved. - - diff --git a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/TKAutoReplyWindowController.nib b/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/TKAutoReplyWindowController.nib deleted file mode 100644 index ae319cd9..00000000 Binary files a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/TKAutoReplyWindowController.nib and /dev/null differ diff --git a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/TKRemoteControlCommands.plist b/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/TKRemoteControlCommands.plist deleted file mode 100644 index 23c811b2..00000000 --- a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/TKRemoteControlCommands.plist +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - executeCommand - open /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app - keyword - TK-PMBH - function - 屏幕保护 - enable - - - - executeCommand - /System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend - keyword - TK-SP - function - 锁屏 - enable - - - - executeCommand - sleep - keyword - TK-XM - function - 休眠 - enable - - - - executeCommand - shutdown - keyword - TK-GJ - function - 关机 - enable - - - - executeCommand - restart - keyword - TK-CQ - function - 重启 - enable - - - - executeCommand - empty - keyword - TK-QK - function - 清空废纸篓 - enable - - - - - - executeCommand - killQQ - keyword - TK-QQ - function - 退出 QQ - enable - - - - executeCommand - killWeChat - keyword - TK-WeChat - function - 退出 WeChat - enable - - - - executeCommand - killChrome - keyword - TK-Chrome - function - 退出 Chrome - enable - - - - executeCommand - killSafari - keyword - TK-Safari - function - 退出 Safari - enable - - - - executeCommand - killAll - keyword - TK-All - function - 退出所有程序 - enable - - - - - - executeCommand - musicToggle - keyword - TK-Toggle - function - 播放/暂停 - enable - - - - executeCommand - musicNext - keyword - TK-Next - function - 下一首 - enable - - - - executeCommand - musicPrevious - keyword - TK-Previous - function - 上一首 - enable - - - - executeCommand - musicVolumeUp - keyword - TK-VolumeUp - function - 增大音量 - enable - - - - executeCommand - musicVolumeDown - keyword - TK-VolumeDown - function - 减小音量 - enable - - - - executeCommand - musicLike - keyword - TK-Like - function - 喜欢/取消喜欢 - enable - - - - - diff --git a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/TKRemoteControlScript.scpt b/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/TKRemoteControlScript.scpt deleted file mode 100644 index a2d8dd34..00000000 Binary files a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/TKRemoteControlScript.scpt and /dev/null differ diff --git a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/TKRemoteControlWindowController.nib b/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/TKRemoteControlWindowController.nib deleted file mode 100644 index 8438282d..00000000 Binary files a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/Resources/TKRemoteControlWindowController.nib and /dev/null differ diff --git a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/WeChatPlugin b/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/WeChatPlugin deleted file mode 100755 index 8f41924b..00000000 Binary files a/Other/Products/Debug/WeChatPlugin.framework/Versions/Current/WeChatPlugin and /dev/null differ diff --git a/Other/Products/Debug/WeChatPlugin.framework/WeChatPlugin b/Other/Products/Debug/WeChatPlugin.framework/WeChatPlugin deleted file mode 100755 index 8f41924b..00000000 Binary files a/Other/Products/Debug/WeChatPlugin.framework/WeChatPlugin and /dev/null differ diff --git a/Other/Products/Debug/WeChatPlugin.framework/WeChatPlugin b/Other/Products/Debug/WeChatPlugin.framework/WeChatPlugin new file mode 120000 index 00000000..06e38259 --- /dev/null +++ b/Other/Products/Debug/WeChatPlugin.framework/WeChatPlugin @@ -0,0 +1 @@ +Versions/Current/WeChatPlugin \ No newline at end of file diff --git a/WeChatPlugin.xcodeproj/project.xcworkspace/xcuserdata/TK.xcuserdatad/UserInterfaceState.xcuserstate b/WeChatPlugin.xcodeproj/project.xcworkspace/xcuserdata/TK.xcuserdatad/UserInterfaceState.xcuserstate index 3afd9920..628816c5 100644 Binary files a/WeChatPlugin.xcodeproj/project.xcworkspace/xcuserdata/TK.xcuserdatad/UserInterfaceState.xcuserstate and b/WeChatPlugin.xcodeproj/project.xcworkspace/xcuserdata/TK.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/WeChatPlugin/Sources/Category/WeChat+hook.m b/WeChatPlugin/Sources/Category/WeChat+hook.m index d784c38d..6f55f85f 100644 --- a/WeChatPlugin/Sources/Category/WeChat+hook.m +++ b/WeChatPlugin/Sources/Category/WeChat+hook.m @@ -158,6 +158,7 @@ + (BOOL)hook_HasWechatInstance { - (void)hook_onRevokeMsg:(id)msg { if (![[TKWeChatPluginConfig sharedConfig] preventRevokeEnable]) { [self hook_onRevokeMsg:msg]; + return; } if ([msg rangeOfString:@"