mirror of
https://github.com/Sunnyyoung/WeChatTweak-macOS.git
synced 2026-07-28 22:14:33 +08:00
refactor: support WeChat 4.x
This commit is contained in:
@@ -1,24 +1,9 @@
|
||||
debug::
|
||||
xcodebuild build \
|
||||
-workspace WeChatTweak.xcworkspace \
|
||||
-scheme WeChatTweak \
|
||||
-configuration Debug
|
||||
DYLD_INSERT_LIBRARIES=WeChatTweak.framework/WeChatTweak /Applications/WeChat.app/Contents/MacOS/WeChat &
|
||||
.PHONY: build clean
|
||||
|
||||
release::
|
||||
xcodebuild archive \
|
||||
-workspace WeChatTweak.xcworkspace \
|
||||
-scheme WeChatTweak \
|
||||
-destination 'generic/platform=macOS' \
|
||||
-archivePath WeChatTweak.xcarchive
|
||||
build::
|
||||
swift build -c release --arch arm64 --arch x86_64
|
||||
cp -f .build/apple/Products/Release/wechattweak ./wechattweak
|
||||
|
||||
clean::
|
||||
rm -rf WeChatTweak.xcarchive WeChatTweak.framework
|
||||
|
||||
install::
|
||||
@echo "Makefile installation has been deprecated!!!"
|
||||
@echo "For more information: \033[33;32mhttps://github.com/sunnyyoung/WeChatTweak-CLI\033[0m."
|
||||
|
||||
uninstall::
|
||||
@echo "Makefile installation has been deprecated!!!"
|
||||
@echo "For more information: \033[33;32mhttps://github.com/sunnyyoung/WeChatTweak-CLI\033[0m."
|
||||
rm -rf .build
|
||||
rm -f wechattweak
|
||||
|
||||
Reference in New Issue
Block a user