Convert Figma logo to code with AI

sunnyyoung logoWeChatTweak

A command-line tool for tweaking WeChat - 首款微信 macOS 客户端撤回拦截与多开 🔨

13,256
1,553
13,256
61

Top Related Projects

A plugin for Mac WeChat

微信小助手的安装 / 更新工具。

Quick Overview

WeChatTweak-macOS is a tweak for the macOS version of WeChat, a popular Chinese messaging app. It adds various features and enhancements to improve the user experience, such as preventing message revocation, enabling multiple instances, and adding a dark mode.

Pros

  • Adds useful features not available in the official WeChat macOS client
  • Allows users to run multiple WeChat instances simultaneously
  • Provides a dark mode option for better visibility in low-light environments
  • Prevents message revocation, allowing users to see deleted messages

Cons

  • May violate WeChat's terms of service, potentially risking account suspension
  • Requires modification of the WeChat application, which could lead to security risks
  • May become incompatible with future WeChat updates, requiring frequent maintenance
  • Not officially supported by WeChat, so users may encounter stability issues

Getting Started

  1. Download the latest release from the GitHub releases page.
  2. Quit WeChat if it's running.
  3. Run the installer package (WeChatTweak-macOS-x.x.x.pkg).
  4. Launch WeChat and enjoy the new features.

Note: Make sure to check the project's README for any additional instructions or requirements specific to your macOS version.

Competitor Comparisons

A plugin for Mac WeChat

Pros of WeChatExtension-ForMac

  • More comprehensive feature set, including message recall prevention and custom reply
  • Active development with frequent updates and bug fixes
  • Larger community and more extensive documentation

Cons of WeChatExtension-ForMac

  • Potentially more complex to install and configure
  • May have a higher impact on system resources due to additional features
  • Some users report occasional stability issues with newer WeChat versions

Code Comparison

WeChatTweak-macOS:

- (void)hook_sendLogoutCGIWithCompletion:(id)completion {
    [self hook_sendLogoutCGIWithCompletion:nil];
}

WeChatExtension-ForMac:

- (void)hook_onLogOut {
    if (![[TKWeChatPluginConfig sharedConfig] preventRevokeEnable]) {
        [self hook_onLogOut];
        return;
    }
    // Custom logout handling
}

Both projects use method swizzling to modify WeChat's behavior, but WeChatExtension-ForMac's implementation is more extensive and configurable.

微信小助手的安装 / 更新工具。

Pros of oh-my-wechat

  • Easier installation process with a simple command-line interface
  • Automatic updates for both the tool and WeChat patches
  • Supports multiple WeChat versions and provides version management

Cons of oh-my-wechat

  • Less customization options compared to WeChatTweak-macOS
  • May have compatibility issues with certain macOS versions
  • Requires command-line knowledge, which might be challenging for some users

Code Comparison

WeChatTweak-macOS:

- (void)hook_didLoginWithResponse:(id)arg1 {
    %orig;
    [self initializeMultipleInstances];
}

oh-my-wechat:

async function installWeChatTweak() {
  const tweakVersion = await getLatestTweakVersion()
  await downloadAndInstallTweak(tweakVersion)
}

The code snippets show different approaches:

  • WeChatTweak-macOS uses Objective-C and focuses on hooking into WeChat's login process
  • oh-my-wechat uses JavaScript and emphasizes the installation and update process of the tweak itself

Both projects aim to enhance WeChat functionality on macOS, but they differ in implementation and focus. WeChatTweak-macOS provides more direct modifications to WeChat, while oh-my-wechat offers a user-friendly management tool for applying and updating tweaks.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

WeChatTweak

README README README

A command-line tool for tweaking WeChat.

功能

  • 阻止消息撤回
  • 阻止自动更新
  • 客户端多开

安装&使用

# 安装
brew install sunnyyoung/tap/wechattweak

# 更新
brew upgrade wechattweak

# 执行 Patch
wechattweak patch

# 查看所有支持的 WeChat 版本
wechattweak versions

参考

贡献者

This project exists thanks to all the people who contribute.

Contributors

License

The AGPL-3.0.