mirror of
https://github.com/Sunnyyoung/WeChatTweak-macOS.git
synced 2025-07-07 16:16:07 +08:00
Update Makefile
This commit is contained in:
parent
8b3dcc24a0
commit
d4eba24e4a
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -143,4 +143,5 @@ fastlane/FastlaneRunner
|
||||||
### Project ###
|
### Project ###
|
||||||
|
|
||||||
Gems
|
Gems
|
||||||
|
WeChatTweak.xcarchive
|
||||||
WeChatTweak.framework
|
WeChatTweak.framework
|
||||||
|
|
27
Makefile
27
Makefile
|
@ -1,21 +1,24 @@
|
||||||
APP_PATH=/Applications/WeChat.app/Contents/MacOS
|
|
||||||
TMP_PATH=/tmp
|
|
||||||
APP_NAME=WeChat
|
|
||||||
BACKUP_NAME=WeChat.bak
|
|
||||||
FRAMEWORK_PATH=WeChatTweak.framework
|
|
||||||
FRAMEWORK_NAME=WeChatTweak
|
|
||||||
DYLIB_NAME=WeChatTweak.dylib
|
|
||||||
|
|
||||||
debug::
|
debug::
|
||||||
DYLD_INSERT_LIBRARIES=${FRAMEWORK_PATH}/${FRAMEWORK_NAME} ${APP_PATH}/${APP_NAME} &
|
xcodebuild build \
|
||||||
|
-workspace WeChatTweak.xcworkspace \
|
||||||
|
-scheme WeChatTweak \
|
||||||
|
-configuration Debug
|
||||||
|
DYLD_INSERT_LIBRARIES=WeChatTweak.framework/WeChatTweak /Applications/WeChat.app/Contents/MacOS/WeChat &
|
||||||
|
|
||||||
|
release::
|
||||||
|
xcodebuild archive \
|
||||||
|
-workspace WeChatTweak.xcworkspace \
|
||||||
|
-scheme WeChatTweak \
|
||||||
|
-destination 'generic/platform=macOS' \
|
||||||
|
-archivePath WeChatTweak.xcarchive
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
rm -rf ${FRAMEWORK_PATH}
|
rm -rf WeChatTweak.xcarchive WeChatTweak.framework
|
||||||
|
|
||||||
install::
|
install::
|
||||||
@echo "Makefile installation has been deprecated!!!"
|
@echo "Makefile installation has been deprecated!!!"
|
||||||
@echo "For more information: \033[33;32mhttps://github.com/Sunnyyoung/WeChatTweak-CLI\033[0m."
|
@echo "For more information: \033[33;32mhttps://github.com/sunnyyoung/WeChatTweak-CLI\033[0m."
|
||||||
|
|
||||||
uninstall::
|
uninstall::
|
||||||
@echo "Makefile installation has been deprecated!!!"
|
@echo "Makefile installation has been deprecated!!!"
|
||||||
@echo "For more information: \033[33;32mhttps://github.com/Sunnyyoung/WeChatTweak-CLI\033[0m."
|
@echo "For more information: \033[33;32mhttps://github.com/sunnyyoung/WeChatTweak-CLI\033[0m."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user