Some minor issue fixed

1. Update README
2. Update makefile
3. Update screenshot
This commit is contained in:
Sunnyyoung
2017-06-29 23:31:21 +08:00
parent d2a215865a
commit 62e8fa8bd9
9 changed files with 36 additions and 22 deletions
+9 -5
View File
@@ -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\