mirror of
https://github.com/Sunnyyoung/WeChatTweak-macOS.git
synced 2025-05-23 23:06:08 +08:00
Update Makefile
Add com.apple.quarantine removing action
This commit is contained in:
parent
e963b6a7e7
commit
2c8caf8712
4
Makefile
4
Makefile
|
@ -9,6 +9,7 @@ debug::
|
|||
DYLD_INSERT_LIBRARIES=${FRAMEWORK_PATH}/${FRAMEWORK_NAME} ${APP_PATH}/${APP_NAME} &
|
||||
|
||||
install::
|
||||
@xattr -rd com.apple.quarantine . ;
|
||||
@if ! [[ $EUID -eq 0 ]]; then\
|
||||
echo "This script should be run using sudo or as the root user.";\
|
||||
exit 1;\
|
||||
|
@ -39,6 +40,7 @@ install::
|
|||
fi
|
||||
|
||||
uninstall::
|
||||
@xattr -rd com.apple.quarantine . ;
|
||||
@if ! [[ $EUID -eq 0 ]]; then\
|
||||
echo "This script should be run using sudo or as the root user.";\
|
||||
exit 1;\
|
||||
|
@ -55,7 +57,7 @@ uninstall::
|
|||
@rm -rf ${APP_PATH}/${DYLIB_NAME};
|
||||
@rm -rf ${APP_PATH}/${FRAMEWORK_PATH};
|
||||
@mv ${APP_PATH}/${BACKUP_NAME} ${APP_PATH}/${APP_NAME};
|
||||
@echo "Uninstall successfully";
|
||||
@echo "Uninstall successfully!";
|
||||
|
||||
clean::
|
||||
rm -rf ${FRAMEWORK_PATH}
|
||||
|
|
Loading…
Reference in New Issue
Block a user