Skip to content

Commit

Permalink
Update ==> 完善远程控制功能
Browse files Browse the repository at this point in the history
  • Loading branch information
TKkk-iOSer committed Oct 11, 2017
1 parent 9aa2c3f commit 73bbb2d
Show file tree
Hide file tree
Showing 22 changed files with 207 additions and 128 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# 更新日志


### [v1.4.0 (2017-10-11)](https://github.com/TKkk-iOSer/WeChatPlugin-MacOS/releases/tag/v1.4.0)

* 新增微信窗口置顶
* 新增最近联系人多选删除
* 新增远程控制信息回调
* 新增手机端获取指令信息

### [v1.3.0 (2017-09-17)](https://github.com/TKkk-iOSer/WeChatPlugin-MacOS/releases/tag/v1.3.0)

* 新增最近联系人置底功能
Expand Down
2 changes: 1 addition & 1 deletion Other/Install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ then
cp "$app_executable_path" "$app_executable_backup_path"
result="y"
else
read -t 15 -p "已安装微信小助手,是否覆盖?[y/n]:" result
read -t 150 -p "已安装微信小助手,是否覆盖?[y/n]:" result
fi

if [[ "$result" == 'y' ]]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ FOUNDATION_EXPORT const unsigned char WeChatPluginVersionString[];
@property(retain, nonatomic) MMSessionInfo *sessionInfo;
- (void)menuWillOpen:(id)arg1;
- (void)contextMenuSticky;
- (void)contextMenuDelete;

@end

@interface MMSessionMgr : NSObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>executeCommand</key>
<string>open /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app || open /System/Library/CoreServices/ScreenSaverEngine.app </string>
<key>keyword</key>
<string>TK-PMBH</string>
<string>ScreenSave</string>
<key>function</key>
<string>屏幕保护</string>
<key>enable</key>
Expand All @@ -17,7 +17,7 @@
<key>executeCommand</key>
<string>/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend</string>
<key>keyword</key>
<string>TK-SP</string>
<string>LockScreen</string>
<key>function</key>
<string>锁屏</string>
<key>enable</key>
Expand All @@ -27,7 +27,7 @@
<key>executeCommand</key>
<string>sleep</string>
<key>keyword</key>
<string>TK-XM</string>
<string>Sleep</string>
<key>function</key>
<string>休眠</string>
<key>enable</key>
Expand All @@ -37,7 +37,7 @@
<key>executeCommand</key>
<string>shutdown</string>
<key>keyword</key>
<string>TK-GJ</string>
<string>Shutdown</string>
<key>function</key>
<string>关机</string>
<key>enable</key>
Expand All @@ -47,7 +47,7 @@
<key>executeCommand</key>
<string>restart</string>
<key>keyword</key>
<string>TK-CQ</string>
<string>Restart</string>
<key>function</key>
<string>重启</string>
<key>enable</key>
Expand All @@ -57,7 +57,7 @@
<key>executeCommand</key>
<string>empty</string>
<key>keyword</key>
<string>TK-QK</string>
<string>EmptyTrash</string>
<key>function</key>
<string>清空废纸篓</string>
<key>enable</key>
Expand All @@ -69,7 +69,7 @@
<key>executeCommand</key>
<string>killQQ</string>
<key>keyword</key>
<string>TK-QQ</string>
<string>KillQQ</string>
<key>function</key>
<string>退出 QQ</string>
<key>enable</key>
Expand All @@ -79,7 +79,7 @@
<key>executeCommand</key>
<string>killWeChat</string>
<key>keyword</key>
<string>TK-WeChat</string>
<string>KillWeChat</string>
<key>function</key>
<string>退出 WeChat</string>
<key>enable</key>
Expand All @@ -89,7 +89,7 @@
<key>executeCommand</key>
<string>killChrome</string>
<key>keyword</key>
<string>TK-Chrome</string>
<string>KillChrome</string>
<key>function</key>
<string>退出 Chrome</string>
<key>enable</key>
Expand All @@ -99,7 +99,7 @@
<key>executeCommand</key>
<string>killSafari</string>
<key>keyword</key>
<string>TK-Safari</string>
<string>KillSafari</string>
<key>function</key>
<string>退出 Safari</string>
<key>enable</key>
Expand All @@ -109,7 +109,7 @@
<key>executeCommand</key>
<string>killAll</string>
<key>keyword</key>
<string>TK-All</string>
<string>KillAll</string>
<key>function</key>
<string>退出所有程序</string>
<key>enable</key>
Expand All @@ -121,61 +121,61 @@
<key>executeCommand</key>
<string>musicToggle</string>
<key>keyword</key>
<string>TK-Toggle</string>
<string>Toggle</string>
<key>function</key>
<string>播放/暂停</string>
<key>enable</key>
<false/>
<true/>
</dict>
<dict>
<key>executeCommand</key>
<string>musicNext</string>
<key>keyword</key>
<string>TK-Next</string>
<string>Next</string>
<key>function</key>
<string>下一首</string>
<key>enable</key>
<false/>
<true/>
</dict>
<dict>
<key>executeCommand</key>
<string>musicPrevious</string>
<key>keyword</key>
<string>TK-Previous</string>
<string>Previous</string>
<key>function</key>
<string>上一首</string>
<key>enable</key>
<false/>
<true/>
</dict>
<dict>
<key>executeCommand</key>
<string>musicVolumeUp</string>
<key>keyword</key>
<string>TK-VolumeUp</string>
<string>VolumeUp</string>
<key>function</key>
<string>增大音量</string>
<key>enable</key>
<false/>
<true/>
</dict>
<dict>
<key>executeCommand</key>
<string>musicVolumeDown</string>
<key>keyword</key>
<string>TK-VolumeDown</string>
<string>VolumeDown</string>
<key>function</key>
<string>减小音量</string>
<key>enable</key>
<false/>
<true/>
</dict>
<dict>
<key>executeCommand</key>
<string>musicLike</string>
<key>keyword</key>
<string>TK-Like</string>
<string>LikeChange</string>
<key>function</key>
<string>喜欢/取消喜欢</string>
<key>enable</key>
<false/>
<true/>
</dict>
</array>
</array>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ FOUNDATION_EXPORT const unsigned char WeChatPluginVersionString[];
@property(retain, nonatomic) MMSessionInfo *sessionInfo;
- (void)menuWillOpen:(id)arg1;
- (void)contextMenuSticky;
- (void)contextMenuDelete;

@end

@interface MMSessionMgr : NSObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>executeCommand</key>
<string>open /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app || open /System/Library/CoreServices/ScreenSaverEngine.app </string>
<key>keyword</key>
<string>TK-PMBH</string>
<string>ScreenSave</string>
<key>function</key>
<string>屏幕保护</string>
<key>enable</key>
Expand All @@ -17,7 +17,7 @@
<key>executeCommand</key>
<string>/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend</string>
<key>keyword</key>
<string>TK-SP</string>
<string>LockScreen</string>
<key>function</key>
<string>锁屏</string>
<key>enable</key>
Expand All @@ -27,7 +27,7 @@
<key>executeCommand</key>
<string>sleep</string>
<key>keyword</key>
<string>TK-XM</string>
<string>Sleep</string>
<key>function</key>
<string>休眠</string>
<key>enable</key>
Expand All @@ -37,7 +37,7 @@
<key>executeCommand</key>
<string>shutdown</string>
<key>keyword</key>
<string>TK-GJ</string>
<string>Shutdown</string>
<key>function</key>
<string>关机</string>
<key>enable</key>
Expand All @@ -47,7 +47,7 @@
<key>executeCommand</key>
<string>restart</string>
<key>keyword</key>
<string>TK-CQ</string>
<string>Restart</string>
<key>function</key>
<string>重启</string>
<key>enable</key>
Expand All @@ -57,7 +57,7 @@
<key>executeCommand</key>
<string>empty</string>
<key>keyword</key>
<string>TK-QK</string>
<string>EmptyTrash</string>
<key>function</key>
<string>清空废纸篓</string>
<key>enable</key>
Expand All @@ -69,7 +69,7 @@
<key>executeCommand</key>
<string>killQQ</string>
<key>keyword</key>
<string>TK-QQ</string>
<string>KillQQ</string>
<key>function</key>
<string>退出 QQ</string>
<key>enable</key>
Expand All @@ -79,7 +79,7 @@
<key>executeCommand</key>
<string>killWeChat</string>
<key>keyword</key>
<string>TK-WeChat</string>
<string>KillWeChat</string>
<key>function</key>
<string>退出 WeChat</string>
<key>enable</key>
Expand All @@ -89,7 +89,7 @@
<key>executeCommand</key>
<string>killChrome</string>
<key>keyword</key>
<string>TK-Chrome</string>
<string>KillChrome</string>
<key>function</key>
<string>退出 Chrome</string>
<key>enable</key>
Expand All @@ -99,7 +99,7 @@
<key>executeCommand</key>
<string>killSafari</string>
<key>keyword</key>
<string>TK-Safari</string>
<string>KillSafari</string>
<key>function</key>
<string>退出 Safari</string>
<key>enable</key>
Expand All @@ -109,7 +109,7 @@
<key>executeCommand</key>
<string>killAll</string>
<key>keyword</key>
<string>TK-All</string>
<string>KillAll</string>
<key>function</key>
<string>退出所有程序</string>
<key>enable</key>
Expand All @@ -121,61 +121,61 @@
<key>executeCommand</key>
<string>musicToggle</string>
<key>keyword</key>
<string>TK-Toggle</string>
<string>Toggle</string>
<key>function</key>
<string>播放/暂停</string>
<key>enable</key>
<false/>
<true/>
</dict>
<dict>
<key>executeCommand</key>
<string>musicNext</string>
<key>keyword</key>
<string>TK-Next</string>
<string>Next</string>
<key>function</key>
<string>下一首</string>
<key>enable</key>
<false/>
<true/>
</dict>
<dict>
<key>executeCommand</key>
<string>musicPrevious</string>
<key>keyword</key>
<string>TK-Previous</string>
<string>Previous</string>
<key>function</key>
<string>上一首</string>
<key>enable</key>
<false/>
<true/>
</dict>
<dict>
<key>executeCommand</key>
<string>musicVolumeUp</string>
<key>keyword</key>
<string>TK-VolumeUp</string>
<string>VolumeUp</string>
<key>function</key>
<string>增大音量</string>
<key>enable</key>
<false/>
<true/>
</dict>
<dict>
<key>executeCommand</key>
<string>musicVolumeDown</string>
<key>keyword</key>
<string>TK-VolumeDown</string>
<string>VolumeDown</string>
<key>function</key>
<string>减小音量</string>
<key>enable</key>
<false/>
<true/>
</dict>
<dict>
<key>executeCommand</key>
<string>musicLike</string>
<key>keyword</key>
<string>TK-Like</string>
<string>LikeChange</string>
<key>function</key>
<string>喜欢/取消喜欢</string>
<key>enable</key>
<false/>
<true/>
</dict>
</array>
</array>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ FOUNDATION_EXPORT const unsigned char WeChatPluginVersionString[];
@property(retain, nonatomic) MMSessionInfo *sessionInfo;
- (void)menuWillOpen:(id)arg1;
- (void)contextMenuSticky;
- (void)contextMenuDelete;

@end

@interface MMSessionMgr : NSObject
Expand Down
Loading

0 comments on commit 73bbb2d

Please sign in to comment.