mirror of
https://github.com/Sunnyyoung/WeChatTweak-macOS.git
synced 2026-07-28 22:14:33 +08:00
Some minor issue fixed
1. Update README 2. Update makefile 3. Update screenshot
This commit is contained in:
@@ -22,11 +22,15 @@ install::
|
||||
echo "Can not find the dylib file, please build first.";\
|
||||
exit 1;\
|
||||
fi
|
||||
|
||||
@cp ${WECHATPATH}/WeChat ${WECHATPATH}/WeChat.bak;
|
||||
@cp ./${DYLIBFILE} ${WECHATPATH}/${DYLIBFILE};
|
||||
@./insert_dylib @executable_path/${DYLIBFILE} ${WECHATPATH}/WeChat ${WECHATPATH}/WeChat --all-yes;
|
||||
@echo "Install successed!";
|
||||
@if [ -f "${WECHATPATH}/${DYLIBFILE}" ]; then\
|
||||
cp ./${DYLIBFILE} ${WECHATPATH}/${DYLIBFILE};\
|
||||
echo "Tweak file found! Replace with new tweak file successed!";\
|
||||
else \
|
||||
cp ${WECHATPATH}/WeChat ${WECHATPATH}/WeChat.bak;\
|
||||
cp ./${DYLIBFILE} ${WECHATPATH}/${DYLIBFILE};\
|
||||
./insert_dylib @executable_path/${DYLIBFILE} ${WECHATPATH}/WeChat ${WECHATPATH}/WeChat --all-yes;\
|
||||
echo "Install successed!";\
|
||||
fi
|
||||
|
||||
uninstall::
|
||||
@if ! [[ $EUID -eq 0 ]]; then\
|
||||
|
||||
Reference in New Issue
Block a user