A C program that watches WeChat file creation and changes their permission to writable.
- Clone this repository.
- Compile the program by running
make
. - Run the program by running
./wewatcher WECHAT_FILE_PATH
.
WECHAT_FILE_PATH should be something like /Users/YOUR_USER_NAME/Library/Containers/com.tencent.xinWeChat/Data/Library/Application\ Support/com.tencent.xinWeChat/2.0b4.0.9/YOUR_ID/Message/MessageTemp/
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.