Skip to content

Commit

Permalink
Merge pull request #787 from MustangYM/develope
Browse files Browse the repository at this point in the history
Develope v2.8.2
  • Loading branch information
MustangYM authored Jan 14, 2021
2 parents 053e5b6 + 6e19a2a commit 2ca4b82
Show file tree
Hide file tree
Showing 20 changed files with 31 additions and 27 deletions.
Binary file modified WeChatExtension.pkg
Binary file not shown.
22 changes: 11 additions & 11 deletions WeChatExtension/Rely/Install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,20 @@ app_executable_path="${app_bundle_path}/${app_name}"
app_executable_backup_path="${app_executable_path}_backup"
framework_path="${app_bundle_path}/${framework_name}.framework"

# 执行安装流程
# 对 WeChat 赋予权限
if [ ! -w "$wechat_path" ]
then
echo -e "\n\n为了将小助手写入微信, 请输入密码 : "
sudo chown -R $(whoami) "$wechat_path"
fi

# 先执行卸载流程
if [ -f "$app_executable_backup_path" ]
then
rm "$app_executable_path"
rm -rf "$framework_path"
mv "$app_executable_backup_path" "$app_executable_path"
sudo rm "$app_executable_path"
sudo rm -rf "$framework_path"
sudo mv "$app_executable_backup_path" "$app_executable_path"

if [ -f "$app_executable_backup_path" ]
then
Expand All @@ -36,14 +44,6 @@ fi
#未发现小助手
fi

# 执行安装流程
# 对 WeChat 赋予权限
if [ ! -w "$wechat_path" ]
then
echo -e "\n\n为了将小助手写入微信, 请输入密码 : "
sudo chown -R $(whoami) "$wechat_path"
fi

# 判断是否已经存在备份文件 或者 是否强制覆盖安装
if [ ! -f "$app_executable_backup_path" ] || [ -n "$1" -a "$1" = "--force" ]
then
Expand Down
Binary file modified WeChatExtension/Rely/Plugin/WeChatExtension.zip
Binary file not shown.
12 changes: 9 additions & 3 deletions WeChatExtension/Rely/Plugin/WeChatExtension/Update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,18 @@ app_executable_path="${app_bundle_path}/${app_name}"
app_executable_backup_path="${app_executable_path}_backup"
framework_path="${app_bundle_path}/${framework_name}.framework"

# 对 WeChat 赋予权限
if [ ! -w "$wechat_path" ]
then
echo -e "\n\n为了将小助手写入微信, 请输入密码 : "
sudo chown -R $(whoami) "$wechat_path"
fi
# 极少部分机器会出现签名异常情况,先执行卸载流程
if [ -f "$app_executable_backup_path" ]
then
rm "$app_executable_path"
rm -rf "$framework_path"
mv "$app_executable_backup_path" "$app_executable_path"
sudo rm "$app_executable_path"
sudo rm -rf "$framework_path"
sudo mv "$app_executable_backup_path" "$app_executable_path"

if [ ! -f "$app_executable_backup_path" ]
then
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.8.1</string>
<string>2.8.2</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
Expand All @@ -27,26 +27,24 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12B45b</string>
<key>DTPlatformName</key>
<string>macosx</string>
<string>11C504</string>
<key>DTPlatformVersion</key>
<string>11.0</string>
<string>GM</string>
<key>DTSDKBuild</key>
<string>20A2408</string>
<string>19B90</string>
<key>DTSDKName</key>
<string>macosx11.0</string>
<string>macosx10.15</string>
<key>DTXcode</key>
<string>1220</string>
<string>1130</string>
<key>DTXcodeBuild</key>
<string>12B45b</string>
<string>11C504</string>
<key>LSMinimumSystemVersion</key>
<string>10.10</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2019年 WeChatExtension. All rights reserved.</string>
<key>showUpdateWindow</key>
<true/>
<key>versionInfo</key>
<string>v2.8.1(2020-12-26):\n👉🏻 适配微信v2.6.0 (16787)\n👉🏻 修复消息撤回Bug \n👉🏻 适配联系人和会话选择界面和若干问题 \n👉🏻 暂未适配BigSur\n</string>
<string>v2.8.2(2021-01-15):\n👉🏻 适配微信v2.6.1(16837)\n👉🏻 群员监控可查看具体违规言论 \n👉🏻 修复2.6以上多选BUG \n👉🏻 2020注定是不平凡的年, MustangYM祝大家新年快乐, 带好口罩, 注意保暖, 保重!\n</string>
</dict>
</plist>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions WeChatExtension/Rely/Uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ framework_path="${app_bundle_path}/${framework_name}.framework"
# 备份WeChat原始可执行文件
if [ -f "$app_executable_backup_path" ]
then
rm "$app_executable_path"
rm -rf "$framework_path"
mv "$app_executable_backup_path" "$app_executable_path"
sudo rm "$app_executable_path"
sudo rm -rf "$framework_path"
sudo mv "$app_executable_backup_path" "$app_executable_path"

if [ -f "$app_executable_backup_path" ]
then
Expand Down
Binary file not shown.

0 comments on commit 2ca4b82

Please sign in to comment.